Currently i have this as part of my statement:
c.closeDate is a 'smalldatetime' data type
The database sets a default null value in this field as 01/01/1900, i want to remove that value in a report.
The result displays the field closeDate but with no change.
The values that are set as 01/01/1900 still display as that, i am trying to clear them so it can be blank for a report in Excel.
Any help would be great.
c.closeDate is a 'smalldatetime' data type
The database sets a default null value in this field as 01/01/1900, i want to remove that value in a report.
Code:
CASE c.closeDate WHEN '01/01/1900' THEN '' ELSE c.closeDate END AS [closeDate],
The result displays the field closeDate but with no change.
The values that are set as 01/01/1900 still display as that, i am trying to clear them so it can be blank for a report in Excel.
Any help would be great.