SA-MP Forums Archive
SQLite - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SQLite (/showthread.php?tid=252408)



SQLite - Zh3r0 - 01.05.2011

How to check if a column is empty? Null?


Re: SQLite - Joe Staff - 01.05.2011

Not sure that you can, the server crashes when you try. The best thing to do is to simply not allow for null entries. When creating new rows, fill all columns with 0


Re: SQLite - Zh3r0 - 01.05.2011

Quote:
Originally Posted by SilentHuntR
Посмотреть сообщение
Not sure that you can, the server crashes when you try. The best thing to do is to simply not allow for null entries. When creating new rows, fill all columns with 0
Good idea! Thanks, now i feel like an idiot for not thinking about this


Re: SQLite - SchurmanCQC - 01.05.2011

I don't know, but what I know is that you can create tables with NOTNULL or something.

Excuse me not being accurate with this.

EDIT: 255th post.