-
Hi,
Now i have a table emp (name varchar2(200)).
I inserted data as below:
insert into emp values ( 'tony & stone');
i was prompted:
enter value for stone:
I know that because of the "&" in the statement. I really want it in the table. So how could i disable the meaning of "&"?
I used \& to try. It failed.
Any ideas?
-
Under sql*plus, type:
set scan off, then insert stmt with only one '&'
-
Using &&
Hi,
use set escape charater before the &
more easy.
Ok.
Felix
DBA
-
Try this one.
set define ?
insert into emp values ( 'tony & stone');
Thanks,
Bhaskar
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|