Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Row size with blank data columns

Author  Topic 

mfghazi
Starting Member

5 Posts

Posted - 2009-02-10 : 09:32:29
Hi,

I have a table which has 20 columns for some code. Typically, only 5-10 codes are stored for each record.

So my question is that when there is no data for a column in a record, will there be any space allocated for these empty fields?

PS., the type of these codes are varchar(6).

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-02-10 : 09:48:21
when no data is stored, storage size of varchar will be 0
Go to Top of Page
   

- Advertisement -