I have a table with a column DateTime datatype with default value null .
I am using following code to update the Datetime to proper datetime , but it is not working .
My code as below
declare @SomeDate datetime = GETDATE()
update Testing set SomeDate = @SomeDate where SomeDate <> @SomeDate