H
Herby
Hi im relatively new to both .NET and ADO.NET.
Im having a problem with dates when using SQL.
I have something like:
effective_date = '1/1/1990'
Iv then tried things like
effective_date = {ts '1990-01-01 00:00:00'}
Whatever i try i keep getting the following exception.
String was not recognized as a valid DateTime
Is there not some conversion routine, whereby if i give it some ad-hoc
string which represents a date in its many forms i.e. 1-1-1990, it will
return me the correct format to use in an SQL expression????
Thanks.
Im having a problem with dates when using SQL.
I have something like:
effective_date = '1/1/1990'
Iv then tried things like
effective_date = {ts '1990-01-01 00:00:00'}
Whatever i try i keep getting the following exception.
String was not recognized as a valid DateTime
Is there not some conversion routine, whereby if i give it some ad-hoc
string which represents a date in its many forms i.e. 1-1-1990, it will
return me the correct format to use in an SQL expression????
Thanks.