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
 Transact-SQL (2005)
 How to replace Null value with number?.

Author  Topic 

umapathy
Starting Member

24 Posts

Posted - 2009-12-22 : 05:02:25
Hi,

I need a query to replace Null value records with number.

Thanks in advance
Umapathy

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-12-22 : 05:08:22
COALESCE(Col1, 15)
ISNULL(Col1, 15)



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page
   

- Advertisement -