simon551
IS-IT--Management
- May 4, 2005
- 249
Hi,
I'm getting this error running on MySql 5.0.41 on an MS IIS machine
incorrect date value: '' for column 'beginningDate'
but don't get the error running on MySql 5.0.37 on XAMPP
I double-checked and the table structures are the same. The field is not required. Is there another way to insert a null string for a date other than ''?
This is my query:
I'm getting this error running on MySql 5.0.41 on an MS IIS machine
incorrect date value: '' for column 'beginningDate'
but don't get the error running on MySql 5.0.37 on XAMPP
I double-checked and the table structures are the same. The field is not required. Is there another way to insert a null string for a date other than ''?
This is my query:
Code:
INSERT INTO contract_lineitems (contractID, gbc, `description`, regAmt, `interval`, billingInstructions, beginningDate, endingDate, notes, retainer, dateCreated, editby) VALUES ('6', '6', '', '17520', 'Monthly', '', '', '', '', '1', Now(), '35')