I have table with about 100+ fields. There are a number of date fields in it scattered around (I am suspecting about 8 or more). I would like to have a query or StoredProcedure that selects only those fields whose data type is Date or Datetime.
This is not a requirement from Project, it will only be my analysis tool.
I am using MSSQL 2005 but it does not have to be only in MSSQL.
1 Answer