|
-
May 26th, 2004, 10:58 PM
#1
Thread Starter
Hyperactive Member
Alternative ' char in SQL? [Resolved]
Is there an alternative to using the ' character in SQL? Since the ' character is used to parse the string objects in a Query, That kinda makes it tough to store Don't and Can't and other words of the type where you need the data to be stored grammatically correct?
[Update]
Thanks, works like a charm...
Last edited by Hinder; May 26th, 2004 at 11:56 PM.
-
May 26th, 2004, 11:37 PM
#2
Replace(strSQL, "'", "''')
in your query string.
'' comes down to '. (That's two single quotes, not a double quote)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|