Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apostrophies

Status
Not open for further replies.

Horsegag9

Technical User
Jan 25, 2005
9
0
0
AU
Hello All,

What is the syntax for including a single quote or ' in my query? I know you have to wrap it in something, but I can't remember what it is.

Thanks in Advance
Horse
 
Here's an example....
Code:
INSERT myTable (LastName)
VALUES ('O''Donnell')

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top