SA-MP Forums Archive
SQLite - Default Values When Initially Creating A Table? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SQLite - Default Values When Initially Creating A Table? (/showthread.php?tid=515440)



SQLite - Default Values When Initially Creating A Table? - DrakeX - 26.05.2014

From my understanding with MySQL, you can set default values which will be assigned when creating a new row inside of a table, but is this possible in SQLite? I'm attempting to insert rows into a table every time a user registers an account, however the contents are VERY large, and it would help be greatly if default values could be specified when creating the table in the first place (values which would be default, and would be set when simply inserting just the username as a new row in the table). Hopefully someone can understand what I'm getting at -- thanks a lot for reading.


Re: SQLite - Default Values When Initially Creating A Table? - DrakeX - 26.05.2014

Meaning that the same queries and syntax's used in MySQL will also work in SQLite?


Re: SQLite - Default Values When Initially Creating A Table? - DrakeX - 26.05.2014

Alright, thanks.