Search code examples
datetimenullsybasesap-ase

Sybase null datetime


I am attempting to insert a row into a table while leaving two datetime columns null.

Error (for both columns):

The column column_name in table conflict does not allow null values.

The only constraint the table table has is a primary key constraint. The constraint is not on the datetime columns.

Is it possible to have a null datetime in Sybase?


Solution

  • I did not realize that Sybase defaulted columns to not null. I need to set the columns as null.