Home Forums SQL Server 2008 T-SQL (SS2K8) Need to find out whether date is of which data type RE: Need to find out whether date is of which data type
Ant-Green
SSC Guru
Points: 113445
More actions
January 8, 2013 at 4:09 am
#1574721
You will need ISDATE(), LEN, CHARINDEX as a minumum to get this working.
But you should be doing your data validation in the front end, not within SQL.