SA-MP Forums Archive
what could be the reason - 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: what could be the reason (/showthread.php?tid=653936)



what could be the reason - lackmail - 17.05.2018

Hello i am trying to insert into my sql table called groups but i get a warning :
Код:
[Warning] db_query: Query failed: groups.x may not be NULL
what could be the reason? i am not understanding the warning i jus want to know what the warning means and what could be the reason


Re: what could be the reason - GTLS - 17.05.2018

As the warning says, none of the Rows can be Null. You probably has set Not Null in database. either remove it from DB or set a default value for warning to go.


Re: what could be the reason - lackmail - 17.05.2018

Thank you very much i found the issue i was setting float to 'float NOT NULL' now i changed it into 'FLOAT' and it works