Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

When executing a script with SQL PLus, I was prompted to enter value for lt, gt, and apos.

Here are some code examples in this script.

v_qry := replace(v_qry, '&lt;', '<');
v_qry := replace(v_qry, '&gt;', '>');
v_qry := replace(v_qry, '&apos;', '''') ;

How to execute this script without being prompted to enter values?

Thank you Frank

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted
set define off

More details can be found in the manual: http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve040.htm#i2698854

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.