Oralce handles the &character in insert2015-11-2015:42:46
Category: Oracle
Sometimes we may store some special words in the table, such as & , but in sqlplus, oracle considers it as input, as follows
SQL> INSERT INTO "BB"."T" VALUES ('1141', '1', '<p>111111 111</p>', '1','1', '1', '1', '1', 'fsdfsd;', '0', '1 ');
Enter value for nbsp:
Enter value for nbsp:
Enter value for nbsp:
Enter value for nbsp:
In fact, ctrl+c exits directly here, there is no real insertion.
You can use set define off to turn off the input of the & character
SQL> set define off
SQL> INSERT INTO "BB"."T" VALUES ('1141', '1','<p>111111 111</p>', '1','1', '1', '1', '1', '