Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Does empty field in database table takes a memory on secondary storage.


I have to left some empty field in table called test depending upon another field called IsRight.

If IsRight field is 'false' then next 4 fields in single row need to kept blank.


So can any one tell me, If i left a fields blank then it doesnt take any space.
Posted

1 solution

Well, while creating a table you define the space needed for each field/column. So, bascially on every row insertion the placeholder is created for the data and one can fill it or leave it empty, space has been allocated.

Thus, empty fields will hold space as it's the placeholder that are responsible for it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900