I have this query:
SELECT StartDateTime, EndDateTime =
WHEN NULL THEN GETDATE()
When the field is NULL I want the result to include the current date/time for the EndDateTime field. It isn't working and still returns NULL. Can someone clue me in to the problem?