Switch to full style
Include SQL commands
Post a reply

NULL Data in table

Mon Jul 16, 2012 1:11 pm

For not defined value or missing value you can use IS NULL condition to add some constrains on your select query.

Code:

SELECT 
FROM 'Department' WHERE name IS NULL

or
Code:

DELETE FROM 
'Department' WHERE name IS NULL


You can also use IS NOT :

Code:

SELECT 
FROM 'Department' WHERE name IS NOT NULL



You also update column data value to NULL
Code:

update 
'Department' set name null




Post a reply
  Related Posts  to : NULL Data in table
 Delete data from database table in php     -  
 Loading table data from a CSV file     -  
 show table data by clicking button     -  
 Frame with Null Layout- set layout NULL     -  
 Is null a keyword     -  
 column can't be null     -  
 row highlight of table     -  
 table row hover     -  
 Using table in latex     -  
 table creation     -