I have a large table with say 10 columns. 4 of them remains null most of the times. I have a query that does null value takes any size or no size in bytes. I read few articles some of them are saying :
http://www.sql-server-citation.com/2009/12/common-mistakes-in-sql-server-part-4.html
There is a misconception that if we have the NULL values in a table it doesn't occupy storage space. The fact is, a NULL value occupies space – 2 bytes
甲
NULL在数据库中的值是一个系统值占用一个字节存储的并指示值不存在,而不是一个空间或零或任何其他的默认值.
你可以指导我关于空值的大小.
我试图计算我的数据库的大小.我将有一个包含3列(id,int,money)的表.我将拥有2600万行,所有列都被占用.我的数据库有多大?另外,在哪里可以找到所有SQL Server数据类型的大小?