MySQL Select FROM * Error
#1

Code:
Код:
format(query,sizeof(query),"SELECT * FROM factions WHERE ID = '%d') ",pInfo[playerid][Faction]);
	mysql_function_query(Connection,query,false,"FactionInfo","i",playerid);
Error:
Код:
[14:23:53] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM factions WHERE ID = '38') ", callback: "FactionInfo", format: "i"
[14:23:53] [DEBUG] CMySQLQuery::Execute[FactionInfo] - starting query execution
[14:23:53] [ERROR] CMySQLQuery::Execute[FactionInfo] - (error #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 ')' at line 1
[14:23:53] [DEBUG] CMySQLQuery::Execute[FactionInfo] - error will be triggered in OnQueryError
Reply


Messages In This Thread
MySQL Select FROM * Error - by SandKing94 - 23.05.2015, 11:19
Re: MySQL Select FROM * Error - by Konstantinos - 23.05.2015, 11:22
Re: MySQL Select FROM * Error - by SandKing94 - 23.05.2015, 11:27
Re: MySQL Select FROM * Error - by MikE1990 - 23.05.2015, 11:27
Re: MySQL Select FROM * Error - by Konstantinos - 23.05.2015, 11:29
Re: MySQL Select FROM * Error - by Staark - 23.05.2015, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)