I want to execute a external SQL script, i.e. @sript.sql, dependent on the answer to my accept prompt, which I am determining by decode.
accept xanother promt 'Again, Yes/No: '
select decode (&xanother, 'YES',@script) from dual
Is this the best way? If so, what's wrong with it?
accept xanother promt 'Again, Yes/No: '
select decode (&xanother, 'YES',@script) from dual
Is this the best way? If so, what's wrong with it?