|
-
Jul 17th, 2001, 08:08 AM
#1
Thread Starter
Addicted Member
Quick SQL query question
Hi
If I need to use an SQL query such as...
SELECT * FROM client WHERE surname = " & cdata.surname & "%"
...what would be the correct syntax to use if the surname was O'Brien for instance.
Any surname that has a ' in it causes a syntax error.
Can someone help me please.
Thanks
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
|