Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Running select queries only in my script
Hari,
Perhaps in your script, you could define a variable and assign it a
value of true or false.
Then, wrap the section of code that you want to conditionally execute
around a IF statement.
So insted of :
/*
code that you don't want to run sometimes
*/
you could have a script with a var
bExecSelects := false
......
IF (bExecSelects) THEN
code that you don't want to run sometimes
END IF;
Received on Thu Dec 15 2005 - 13:52:41 CST