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
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 REMOVE NULL FROM A SPECIFIC FIELD OF SQL 2005

Author  Topic 

baijuep
Starting Member

15 Posts

Posted - 2012-09-08 : 22:36:49
I HAVE A TABLE NAMED ANIL AND A FIELD IN IT I STATUS AND I WANT TO REMOVE NULL FROM THAT FIELD. I DID IT MANUALLY BUT MY DATABASE IS INCREASING AND FACING TROUBLE TO MANUALLY REMOVE IT

baijuep

baijuep
Starting Member

15 Posts

Posted - 2012-09-09 : 04:16:21
I MYSELF GOT THROUGH

Update TABLENAME set FIELDNAME=' ' where FIELDNAME is null

baijuep
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-09-09 : 12:14:44
why not set the logic in population step itself so that you dont have to do this separately each time?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -