Why does a column in a table have NULL values?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

Why does a column in a table have NULL values?

Rating:

A column in a table can have NULL values for two specific reasons:

  • It could be that the value of the attribute is not known. For example, a newly hired employee might not have a project to work on the very first day of joining. Therefore, the project attribute of that particular record will be NULL.
  • It could be that there is no appropriate value to give the attribute for a given instance. For example, the Employee entity has an attribute Commission, which is applicable to only those employees who are working in sales. Therefore, the value of this particular attribute for all those employees who are not in sales will be NULL.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.