Or do it dynamically like so:
#REReplace(Form.FieldName, "'", "''", "ALL")#
John McKown, VP Business Services
Delaware.Net, Inc.
30 Old Rudnick Lane, Suite 200 Dover, DE 19901
email: [EMAIL PROTECTED]
phone: 302-736-5515
fax: 302-736-5945
icq: 1495432
> -----Original Message-----
> From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 22, 2001 11:59 AM
> To: CF-Talk
> Subject: Single Quotes in SQL HELP PLEASE!
>
>
> ok, I want to enter this character into a SQL table. '
>
> but i get an error. how do I make it enter ' into the database?
>
> INSERT INTO MyTABLE(Stuff)
> VALUES = '''
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists