Returns the level of precision used by decimal and numeric data types as currently set in the server.
@@MAX_PRECISION
tinyint
By default, the maximum precision is 28; however, a larger precision can be set by using the /p switch with sqlservr when starting Microsoft® SQL Server™ from a command prompt.
SELECT @@MAX_PRECISION
decimal and numeric | Configuration Functions |
Precision, Scale, and Length |