Annotations for "Precision, Scale, and Length (Transact-SQL)" topic.Thu, 27 Jul 2017 20:01:42 Z
http://technet.microsoft.com/en-us/library/ms190476(v=sql.110).aspx#CommunityContent
R HerringDivision - Expression ErrorI am pretty sure the expressions for Precision and Scale are incorrect for division.For example, Scale = max(6, s1 + p2 + 1) Just does not work for a number of examples. when both the operands are decimal(38, 10) the result is decimal(38, 6). But the expression results in a scale of ?49? (e.g. 10 + 30 + 1)Fri, 05 May 2017 21:21:48 -0700
http://technet.microsoft.com/en-us/library/ms190476(v=sql.110).aspx#CommunityContent
AvuoloIncorrect definitions?In math, precision deals with the number of digits after the decimal point, yet this article defines scale as the number of digits. It really appears that this article has confused scale and precision. Mon, 19 Dec 2016 22:09:25 -0800
http://technet.microsoft.com/en-us/library/ms190476(v=sql.110).aspx#CommunityContent
Tom.ThomsonLengthThe statement "Length for a numeric data type is the number of bytes that are used to store the number" has misled people into believing that the LEN function has does that, which of course is utter nonsense, It would be a good idea to correct this page to avoid giving that false impression.Thu, 01 Aug 2013 17:42:07 -0700