SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 17/05/2018, 02:51 AM   #1
lackmail
Big Clucker
 
Join Date: Aug 2016
Posts: 80
Reputation: 13
Default what could be the reason

Hello i am trying to insert into my sql table called groups but i get a warning :
Code:
[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
lackmail is offline   Reply With Quote
Old 17/05/2018, 04:17 AM   #2
GTLS
Huge Clucker
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 463
Reputation: 68
Default Re: what could be the reason

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.
__________________

I don't help for rep. I help cuz I was helped in the past.
GTLS is online now   Reply With Quote
Old 17/05/2018, 05:02 AM   #3
lackmail
Big Clucker
 
Join Date: Aug 2016
Posts: 80
Reputation: 13
Default Re: what could be the reason

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
lackmail is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/ban ID Reason. Reason wont show. Luicy. Scripting Help 22 22/12/2014 10:48 PM
[FilterScript] Simple afk systems with reason..!! + pm systems with togpm + brb sytem with reason Hazko Filterscripts 5 06/04/2013 11:58 PM
/lol id reason W00Z Help Archive 2 07/06/2010 12:36 PM
[NL] Kick [ID] [REASON] Ban [ID] [REASON] Jokerr_mayne Help Archive 3 02/05/2009 02:34 PM


All times are GMT. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.