Click here to Skip to main content
15,910,980 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hey... guys ...

i want to insert city with name short like that ahmedabad to ---- a'bad

now how i do.....

thank in advance....
Posted

1 solution

Just make the ' twice
SQL
insert into table(id, city) values(1,'a''bad')
 
Share this answer
 
Comments
Sugato Pal 19-Aug-11 7:49am    
Good Answer..My 5.
nilong 23-Aug-11 5:31am    
hey...men ...i m not asking like that...ds trick gona fixed...but i want to user fill like a'bad as city,, ds type of data at time our logic is how to handle...

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