To make it simpler:
SELECT IIF(empty(dtcompl),"''","'" + DTOC(dtcompl) + "'") from mevmast where citat LIKE 'BA83311%'
results in '0
SELECT IIF(empty(dtdisp),"''","'" + DTOC(dtdisp) + "'") from mevmast where citat LIKE 'BA83311%'
results in '10/26/90'
Both fields are of the date type, length 8, and contain a date value. What could cause this?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only