I'm puzzled about the space used to store numbers.
If you create the table...
create table testN (
cInt integer
,cNum10 numeric(10,0)
,cNum8_2 numeric(8,2)
)
and then do sp_help testN, you find that the integer takes 4 bytes, yet the numeric(10,0) takes 9, and the 8 with 2 dec...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.