Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Insert &
Hi,
What is the best way to Insert when we have '&' as part of our string. I want to frame INSERT statements such as the one below, and pass on to the user.
insert_customers.sql:
INSERT INTO customers (customer_name) VALUES ('Sun Microsystems'); INSERT INTO customers (customer_name) VALUES ('HP'); INSERT INTO customers (customer_name) VALUES ('AT & T');bla bla bla
This script asks for Input and does not Insert correctly. Please suggest me how I can modify the script and still be able to insert AT & T correctly.
TIA, Krishna
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Krishna Rao K
INET: master_dba_at_hotmail.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Mar 06 2001 - 14:05:19 CST
![]() |
![]() |