What is null?

by Irina 28. March 2009 15:30
  • Null represents absence of data value of a column in a row
  • Null is a SQL keyword
  • Null is neither a data type no characteristic of data
  • When doing is ascending sorting Null is before numeric negative values and before blank character values
  • To prohibit nulls columns have to be defined as Not Null
  • Null on arithmetic operations always produces Null result
  • It is possible to use Null and not Null in select statement

Example

 

Select customer_id, address

From   basic_data

Where address is not null


Tags:

TERADATA

Related posts

Add comment


(will show your Gravatar icon)  





Live preview

9/7/2010 12:21:13 PM

 

About the author

Irina Spivak Irina Spivak
Team Leader at G-Stat. More...


Send mail Email

Authors

Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2010

    Sign in

    eXTReMe Tracker