TSQL format: CASE WHEN [Field1] = 0 THEN [Field2] ELSE NULL END as DerivedColumn
I tried this, but it doesn't work: [Field1] == 0 ? [Field2]
The first field is a bit field and the resulting value of this transformation will be put into a datetime field in SQL Server.