moore_it Well-Known Member Licensed User Longtime User Feb 16, 2015 #1 Hello everybody, how i do to insert a field in a sqlite db table when i found an " ' " char ? example ... INSERT INTO tablename VALUES ('caffe'') Thanks in advice Toni
Hello everybody, how i do to insert a field in a sqlite db table when i found an " ' " char ? example ... INSERT INTO tablename VALUES ('caffe'') Thanks in advice Toni
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2015 #2 Always use ExecuteNonQuery2. B4X: SQL.ExecuteNonQuery2("INSERT INTO tablename VALUES (?)", Array("caffe'")) Upvote 0
Always use ExecuteNonQuery2. B4X: SQL.ExecuteNonQuery2("INSERT INTO tablename VALUES (?)", Array("caffe'"))
moore_it Well-Known Member Licensed User Longtime User Feb 17, 2015 #3 Try it, thanks Erel ! Upvote 0