SQLITE help
#3

Quote:
Originally Posted by [uL]Pottus
View Post
There is no need for this, use a tool to create your DB tables manually why bother writing this when your going to create a table once?
Much better to have it in the code IMO, that way when you start your server the database is automatically created. I'd have my code do the work for me, rather than download and use a tool.

Also if you use a tool and want to release your script you will need to distribute the db file with it too (or ask end user to use a tool).

EDIT: @OP there seems to be a lot wrong with the statement there, just on first glance you have double comma's in your statement (,,). You also don't need to use 'strcat' that many times - most of that would go in one line.
Reply


Messages In This Thread
SQLITE help - by Ryan_Obeles - 27.04.2013, 05:06
Re: SQLITE help - by Pottus - 27.04.2013, 05:24
Re: SQLITE help - by iggy1 - 27.04.2013, 07:38
Re: SQLITE help - by Ryan_Obeles - 27.04.2013, 07:49
Re: SQLITE help - by Ryan_Obeles - 27.04.2013, 10:54
Re: SQLITE help - by Finn - 27.04.2013, 11:20
Re: SQLITE help - by Ryan_Obeles - 27.04.2013, 11:28
Re: SQLITE help - by Finn - 27.04.2013, 12:49
Re: SQLITE help - by Ryan_Obeles - 28.04.2013, 01:38
Re: SQLITE help - by Ryan_Obeles - 28.04.2013, 01:55

Forum Jump:


Users browsing this thread: 1 Guest(s)