Could someone help me clear up some confusion…
I want to put in some decimal values into SQL Server. These decimals can be from 0.0001 to 1.9999
Do I set my data type to:
Decimal(1,4) meaning 1 digit before the point and 4 after
or
Decimal(5,4) meaning 5 total digits with 4 digits after the point.
Thanks!
Decimal(5,4)would be 5 total digits and 4 digits after the pointSee this article for more information:
http://msdn.microsoft.com/en-us/library/aa258832(v=sql.80).aspx