Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Insert new record and update exist
Mohammad wrote:
>
> Hi,
>
> I have problem to make query to check the Oracle table for update,if
> record is new inster that and if it is exist record just update that.
>
> The insert record works fine. How do I can check if it is exits just
> update that.
>
> Thank you for you help
>
> Mohammad
The MERGE command will do this in version 9. No idea how efficient it is, but I'd guess better than using PL/SQL. Received on Fri Aug 15 2003 - 10:16:44 CDT