|
zt
Reply: Ask: Which is the escape character in the SQL statement?
I know, to use the escape character '\' in sql*plus, we must first modify the environment variables
set escape on
Then you can use the escape character '\', for example
SQL>set escape on
SQL>select count(*) from employees where name='\[$1']
COUNT(*)
----------
0
SQL>select count(*) from employees where name='&1';
Enter a value of 1: a
Original value 1: select count(*) from employees where name='&1'
New value 1: select count(*) from employees where name='a'
COUNT(*)
---------
|
|