Hi,
I am having a bit of a problem with SQL syntax for SQL Server.
I have a field(MY_DATE), of a smalldatetime data type.
When I pass a NULL value to it either from VB or in Query Analyzer, it is assigned '1/1/1900'.
I have tried values of
'<NULL>'
""
''
CONVERT(DATETIME,'',102)
Am I missing something?
Tahnks in advance,
Bill
I am having a bit of a problem with SQL syntax for SQL Server.
I have a field(MY_DATE), of a smalldatetime data type.
When I pass a NULL value to it either from VB or in Query Analyzer, it is assigned '1/1/1900'.
I have tried values of
'<NULL>'
""
''
CONVERT(DATETIME,'',102)
Am I missing something?
Tahnks in advance,
Bill