What is the best SQL for a SQLite database to effectively do:
If Database Table Exists then - create table - insert row - insert row (i.e. for startup data) end
To check that your table exists or not, you can use:
SELECT * FROM sqlite_master WHERE name ='myTable' and type='table';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With