Avatar of mrong
mrong
 asked on

Urgent: Update query issue in Oracle 11g

Greeting,

I have update stmts like the following. When I ran it, it popup a message "Enter value for recreation: " 
What is it for? Any suggestions?

Update TBL1
set desc='ATHLETICS & RECREATION'
where id='005'

Thanks.
Oracle DatabaseSQL

Avatar of undefined
Last Comment
slightwv (䄆 Netminder)

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
slightwv (䄆 Netminder)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mrong

ASKER
same message for the following strings.

economics
info
global
slightwv (䄆 Netminder)

In case you missed my post while you were typing:
set define off
mrong

ASKER
yes, I use sqlplus. Can I still set echo on?
Thanks.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
slightwv (䄆 Netminder)

>>Can I still set echo on?

Yes.

Here is the online docs about the '&':
http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_five.htm

You can SET DEFINE OFF to prevent scanning for the substitution character.
Geert G

or replace the & with chr(38)
Naveen Kumar

You can also try setting the below :

Set define off
set scan off
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Naveen Kumar

I am aware that scan off is obsolete in the latest versions but just want you to try if in case the define off does not help for some reason.
slightwv (䄆 Netminder)

"set define off" has already been posted.  Several times...