Click here to Skip to main content
15,886,778 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am developing desktop application.I want to store single quotes in Ms-Access database.how this can possible.

Thanks in Advance
Neeraj
Posted

Just like this

SQL
INSERT INTO Room(Name)
SELECT '''adsf'''




Hope this helps , If yes then plz accept and vote the answer. Any queries / questions on this are always welcome.

Thanks & Regards
RDBurmon.Sr.Software Engineer
 
Share this answer
 
v2
Try using doubled single-quotes ('') for embedded single-quotes in your SQL literals.

Refer: Microsoft Access Tips for Casual Users[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900