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

  • With difficulty

    You could do a check in the string for the + or - symbol to indicate Offset

    You could then do a check for a : to detail if a time has been put in the string for datetime

    You could check the length of the variable is 10, if the date has been provided only