SA-MP Forums Archive
SQLite Query - 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 Query (/showthread.php?tid=557341)



SQLite Query - RedFusion - 13.01.2015

I'm trying to run this query but it doesn't work:

pawn Код:
removed
The result had 0 rows while it should have had atleast 1 when i tested this. Obviously i'm doing something wrong but i don't know what. Can you find the error?


Re: SQLite Query - Vince - 13.01.2015

Get rid of all the backticks. Who teaches that stuff? You don't need them! Backticks are only necessary if the column name is a MySQL keyword. This means that if you have to use them, you've chosen a poor column name.


Re: SQLite Query - RedFusion - 13.01.2015

The query does its job now, thanks for the help Vince! Regarding the backticks, i picked it up from a tutorial here on the forums.