SQL syntax error?
#1

Im getting an error in my syntax but i cant find it.
Error:
Код:
[23:06:10] CMySQLHandler::Query(SELECT * FROM `playervehicles` WHERE `owner`= 'Whatcha' LIMIT 1 DESC) - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC' at line 1)
Query:
pawn Код:
format(String,sizeof(String),"SELECT * FROM `playervehicles` WHERE `owner`= '%s' LIMIT 1 DESC",PlayerName(playerid));
Reply


Messages In This Thread
SQL syntax error? - by Rokzlive - 19.06.2013, 03:07
Re: SQL syntax error? - by Scenario - 19.06.2013, 03:10
Re: SQL syntax error? - by Rokzlive - 19.06.2013, 03:18
Re: SQL syntax error? - by kamzaf - 19.06.2013, 03:45

Forum Jump:


Users browsing this thread: 2 Guest(s)