Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Validating SQL ??

Re: Validating SQL ??

From: Martin <I.want_at_no.mail>
Date: 5 Jan 1999 13:54:32 GMT
Message-ID: <76t5io$oot$1@hdxf08.telecom.ptt.nl>


Matthew Green <matthewgreen_at_powersoft-services.co.uk> schrijfbewerkingen: >
> Is there a command which will let me validate SQL statements before
> applying them e.g..
>
>
> update contacts
> set name = 'ABC'
>
>
> so I want to check if the syntax is right before executing.
>
>
> If you can shed any light
>
>
> Thanks
>
> Matt
 

If you mean you want to check if the data updated is correct, you can use rollback and commit;

When you want to undo rollback, when you want to apply commit; Make sure autocommit is set to off in your sqlplus session. (default it is I think) Received on Tue Jan 05 1999 - 07:54:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US