Forum Discussion
ushaplaxo
15 years agoContributor
I am passing the sql statements in a script now. Looks like it works except that I get the following error:
java.sql.SQLException: Field 'created' doesn't have a default value
the field 'created' is of type datetime. I tried entering "yyyy-mm-dd 00:00:00", "now()", "null" as deault value, But I keep getting the same error. How do I resolve this error?
Thanks!
Usha
java.sql.SQLException: Field 'created' doesn't have a default value
the field 'created' is of type datetime. I tried entering "yyyy-mm-dd 00:00:00", "now()", "null" as deault value, But I keep getting the same error. How do I resolve this error?
Thanks!
Usha