iphone - Database delete issue -



iphone - Database delete issue -

i have type of info stored bookmark in bookmarks table.....this type of info (which having ' in between string) not removed database.... else other info removed.

then solution of type of issue.

query:-->

delete bookmarks name='bimbo's 365 club' delete bookmarks name='slim's'

it gives me:-->

near "s": syntax error

both of above examples problem occurs.

please suggest me appropriate solution of issue.

you have utilize backslash in front end of single quote \' indicate single quote in value. i.e.

delete bookmarks name='bimbo\'s 365 club'

iphone

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -