Creating a SQLite table without columns - 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: Creating a SQLite table without columns (
/showthread.php?tid=484185)
Creating a SQLite table without columns -
RedFusion - 29.12.2013
EDIT: Apparently it's not possible
Are there any work-arounds? I'm trying to create a table and adding columns by using alter table.
Re: Creating a SQLite table without columns -
HeLiOn_PrImE - 29.12.2013
Not sure if understand...
you want multiple tables in a database?
Re: Creating a SQLite table without columns -
RedFusion - 29.12.2013
No, i just want to create a table with a shitload of columns.
I figured it would be easier to first create the table and then all the columns.
Re: Creating a SQLite table without columns -
Vince - 29.12.2013
Unless you're constantly going to edit the table structure within your script (?), I'd recommend setting up the structure outside of it. I'm not sure what you're trying to do, but you should also keep the amount of fields/columns to a minimum. If you need to add numbers to a column name then you're doing it wrong.