Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> special characters in sqlplus
Hi!
I have a script which takes an sql-query as input from the user. In the script I want to pull out parts of the sql-query. My problem is when the user inserts a query like "update table1 set col1 = 'some value' ". The problem is the quotation marks. How do I for eksample make the whole query uppercase?
Some of the script looks like:
SET SERVEROUTPUT on;
DECLARE pl_UpperUpdateStm varchar2(2048);
BEGIN SELECT upper('&&sp_UpdateStm') into pl_UpperUpdateStm from dual;
END;
Thanks,
Thor Morten Kopaas Received on Fri Oct 05 2001 - 05:59:46 CDT