Hi,
I have a strange problem. When I try to update record in a smalldate field it updates the date as 1900-01-01 00:00:00.
I use SQL Query
update regions set processstart = '' where ntid = 'yajmi'
if I change this query to - update regions set processstart = NULL where ntid = 'yajmi', then it inserts NULL value.
But because of certain conditions in my program I can not use NULL in place of ''.
Does anyone has solution for this?
Thanks
Yogesh
I have a strange problem. When I try to update record in a smalldate field it updates the date as 1900-01-01 00:00:00.
I use SQL Query
update regions set processstart = '' where ntid = 'yajmi'
if I change this query to - update regions set processstart = NULL where ntid = 'yajmi', then it inserts NULL value.
But because of certain conditions in my program I can not use NULL in place of ''.
Does anyone has solution for this?
Thanks
Yogesh