Hey there,
im working on a SQLite db to store some Names.
When there is a single quote ' in the name there will be an error as ' is the text qualifier of SQLite.
This B4A thread and the SQLite documentation suggest to exit the single quote with another one.
Like this:
this works fine in SQLite DB editor but throws an error in B4J.
Is there any workaround for this? In wich ways do B4A and B4J SQL libs differ?
Thanks for your time,
Lennart
im working on a SQLite db to store some Names.
When there is a single quote ' in the name there will be an error as ' is the text qualifier of SQLite.
This B4A thread and the SQLite documentation suggest to exit the single quote with another one.
Like this:
B4X:
"INSERT INTO things(name) VALUES ('Neil O''Donnel')"
B4X:
java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (near "O": syntax error)
Is there any workaround for this? In wich ways do B4A and B4J SQL libs differ?
Thanks for your time,
Lennart