INSERT INTO USER(ID,NAME) VALUES(12,'ABC & CO');
While executing this, SQL*Plus will promt the user to input value 'CO' as its prefixed with subsititution character &. However in this scenarios, its should not act as substitution variable but rather &hersand.
To overcome this issues, we can disable the subsititution variabels with
SET DEFINE OFF
For selective disabling and other options, refer
http://www.orafaq.com/wiki/SQL*Plus_FAQ
No comments:
Post a Comment