Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> If statement
Hallo all you gurus,
Why doesnt this if statement work?
I would like to do an insert into the table errorlog if the vOWNER_NO has an id
whichdoesnt exist in vSubOWNER_NO
How should I write the if statement?
IF vOWNER_NO <> vSUB_OWNER_NO
THEN
vInfo:= 'Script: make_file_se.vSUB_OWNER_NO: ' || vSUB_OWNER_NO; vsqlerrm:=SQLERRM; INSERT INTO ERRORLOG VALUES(vinfo, vsqlerrm, SYSDATE); COMMIT;
Roland Sköldblom
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: Roland.Skoldblom_at_ica.se
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed May 23 2001 - 10:35:45 CDT
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message