I'm running hundreds of SQL DELETE
statements in a single go within a BEGIN - END
block in Oracle DB. I need to ignore the bind variables to treat the complete text as values.
Using Set define off
doesn't help as it says
BIND variable not declared
Any help on this to run all the delete statements without bind variable errors. A portion of SQL is below.
SET DEFINE OFF
BEGIN
DELETE FROM CLOOKUP WHERE PKID='294569246' AND VALUE ='Myco :Zear';
DELETE FROM CLOOKUP WHERE PKID='245342523' AND VALUE ='Asta :Ochra';
DELETE FROM CLOOKUP WHERE PKID='947893478' AND VALUE ='Isomene';
DELETE FROM CLOOKUP WHERE PKID='947893478' AND VALUE ='T-Acid & Methyl';
END;