|
Hi We have a table with five columns and one of them is a DateTime column. While inserting rows through a trigger, the value for the datetime column is inserted as '1900-01-01 00:00:000' when the value is NULL. Kindly clarify & suggest fix. Rgds Mohan Kumar VS
(comments are locked)
|
|
For a datetime to have that value, then it will have been set to Check if the table has default constraint. The datetime column is designed as AllowNull. There is no default constraint.
Jun 27 '11 at 04:30 AM
Mohan Kumar
Maybe something in the trigger code is replacing
Jun 27 '11 at 04:34 AM
Kev Riley ♦♦
Thanks... The problem was within the trigger as you mentioned. Thanks again.
Jun 27 '11 at 05:36 AM
Mohan Kumar
(comments are locked)
|

