TSQL Problem:
Let's say you've got one or more scalar values that are VARCHAR 'strings' and you want to determine if they can be typed more appropriately.
For example '16:16:34.6733333' is data type TIME. It's easy to examine the value manually to make that determination. But how would you do it programatically (via TSQL)?
I've tried casting the VARCHAR as different types. TRY_CAST is successful for some data types. How would I know which one is 'right'?


