You can use pr_text = <cfqueryparam value="You'll be responsible for implementing, all of the responsibilities of ...." cfsqltype="CF_SQL_VARCHAR">
or cfsqltype="CF_SQL_CHAR", depending on your data type on the field 'pr_text" hth Charlie Hanlon Web Applications Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Monday, October 09, 2006 12:53 PM Subject: Single or Double Quotes - textarea values > When I insert or update using the cfquery tag, some of the form fields has > a long text string > that is being palced into a text data type. Sometimes the text from the > textarea contains > single quotations or commas. This seems to throwing off my SQL statement. > Should I > be wrapping this form's values in double single quotes or or double quotes > instead of single > quotes. > > UPDATE > tbl_HumanResourcesJobs > SET pr_title = 'Job Description', > pr_text = 'You'll be responsible for implementing, all of the > responsibilities of ....', > pr_active = Yes, > pr_date = 'September 29, 02006', > pr_department = 'Marketing' > WHERE hr_id = 97 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256000 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

