This post was formerly published at my beloved old blog "On the quest of a DBA's adventure......"
Warning: This is not necessary useful - until you need it or in my case, to be honest, when you are getting too bored.
One day, I try to verify what datatype of a field that is used by a stored proceduce. Clicking through the GUI is too hard and un-cool. So, Google tells me how to achieve it. There is a built in function called SQL_VARIANT_PROPERTY and this is the reference to it: MSDN - SQL_VARIANT_PROPERTY (Transact-SQL)
No comments:
Post a Comment