Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
for numeric datatypes like Numeric,Decimal,float etc you can get scale,precision etc values from NUMERIC_PRECISION and NUMERIC_SCALE columns of the above views------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/
sunitabeck
Master Smack Fu Yak Hacker
5155 Posts
Posted - 2012-07-23 : 15:37:40
For local variables, you can use SQL_VARIANT_PROPERTY: