I have a table with two DATETIME columns.
One of them is never NULL, but one of them is sometimes NULL.
I need to write a query which will set all the NULL rows
UPDATE YourTable SET ColumnB=ColumnA WHERE ColumnB IS NULL AND ColumnA IS NOT NULL