Hi
Does NULL occupy space in SQL Server?
Thanks -- Vijaya Kadiyala
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Mar 30, 2009, 3:15 PM EDT
so, by defining a field to be nullable, you will request 1 bit in such a bit-mask to be used for all rows.
The bit-mask is however "increased" to
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Mar 30, 2009, 10:08 AM EDT
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Mar 30, 2009, 3:08 PM EDT
Hi
Thanks for your prompt reply. 2-3 bytes is unique for every datatype? it changes based on the data type.
Thanks -- Vijaya Kadiyala
www.dotnetvj.com
Mahesh ChandRank #1 · 393.4K reputationPosted Mar 30, 2009, 5:45 PM EDT
Nice thread. I didn't know that much about Null in SQL Server ;)
Thanks guys!
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Apr 1, 2009, 11:28 AM EDT
Hi Niradhip
Thanks for the explanation.
Mahesh, Till now i even didn't know about. I got this question from beginer :) wow...i couldn't his question at first.
Thanks -- Vijaya Kadiyala
www.dotnetvj.com