The error #1048 mostly occurs when INSERT query makes try to insert NULL values into a NOT NULL field. I assume that 'min' is a NOT NULL field in your table against which you are inserting NULL value. So you may replace NULL and instead give 0 (if the field is numeric type) to get rid of this error like below:

INSERT INTO sys_data
	SET sys_userid = '1', sys_groupid = '0',
	    `origin` = 'admin',`serial` = '200804088',
	    `min = 0,`max = NULL,`active` = 'Y';

Posted in: MySQL

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677