UPDATE ** Thank you for everyone's help. It is appreciated. It was a trigger that was being used, and not an issue with the Insert. I had tunnel visioned on the insert and forgot all about checking the trigger.
I can't for the life of me figure out the problem with this mysql insert:
INSERT INTO campaigns (camp_id,camp_name,camp_desc,camp_created,camp_creator,camp_start,camp_end,camp_active)
VALUES (null,'Clinic','2013 Clinic',now(),'user','2013-10-21','2013-10-25',1);
Table:
Field Type Null Key Default Extra
===========================================================================================
camp_id int(12) NO PRI auto_increment
camp_name varchar(32) NO
camp_desc varchar(255) YES
camp_created timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
camp_creator varchar(16) NO
camp_start date NO
camp_end date NO
camp_active int(1) NO
Any help is appreciated.
Per Requests: SHOW CREATE TABLE campaigns:
CREATE TABLE `campaigns`
( `camp_id` int(12) NOT NULL AUTO_INCREMENT,
`camp_name` varchar(32) NOT NULL,
`camp_desc` varchar(255) DEFAULT NULL,
`camp_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
ON UPDATE CURRENT_TIMESTAMP,
`camp_creator` varchar(16) NOT NULL,
`camp_start` date NOT NULL,
`camp_end` date NOT NULL,
`camp_active` int(1) NOT NULL,
PRIMARY KEY (`camp_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1