[Tip]如何在SQL*PLUS中插入含有'&'的字符串?
方法一在SQL*PLUS中用这个命令:set define off
方法二(推荐)参见如下的例子:
SQL> truncate table demo;
Table truncated.
SQL> select * from demo;
no rows selected
SQL> desc demo;
Name Null? Type ----------------------------------------- -------- ----------------- X CHAR(20)
SQL> insert into demo values ('scott&'||'tiger');
1 row created.
X--------------------scott&tiger
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18