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 2000 Forums
 Transact-SQL (2000)
 null values

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-01-02 : 08:29:58
writes "Query to retutn rows including those with null values as 0"

LarsG
Constraint Violating Yak Guru

284 Posts

Posted - 2004-01-02 : 09:54:40
select coalesce(c,0) from t
Go to Top of Page

nricardo
Starting Member

17 Posts

Posted - 2004-01-02 : 13:38:13
You would need an outer join in the query.
Go to Top of Page
   

- Advertisement -