If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Quote Marks on Insert

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-03-05, 14:56
tomtedeschi tomtedeschi is offline
Registered User
 
Join Date: Apr 2004
Posts: 1
Quote Marks on Insert

Hello-
I'm a bit new to mySQL and having a problem with quote marks. I'm inserting into a table via a ColdFusion form page, and data containing quote marks seem to not be inserted. I don't get an error -- all subsequent fields fill up fine -- but the quoted data seem to get truncated. For example:

This is a "long" book.

gets added as:

This is a

Any thoughts? I've tried escaping with a backslash as well as double-quotes.

Thanks in advance...

- Tom Tedeschi
Reply With Quote
  #2 (permalink)  
Old 01-03-05, 15:50
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
can you show the exact CFQUERY and the INSERT statement?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On