I just wanted to know how much memory is used when I declare a variable @test-2 with decimal (18,2)? Does this data type behave like a varchar value.
Thevariable @test-2 can also hold large values or even small values like 58.14. So in my stored procedure i wanted to declare this variable as decimal(18,2).Will this cause any performance issues?How much space is used when the value is null.