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 2008 Forums
 Transact-SQL (2008)
 Coalesce

Author  Topic 

Chancellor2000
Starting Member

1 Post

Posted - 2012-05-30 : 15:37:02
How does one use coalesce so that it doesn't return the same result for each line in a query resultset?
Does coalesce not work in a multiline resultset?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-05-30 : 15:50:20
Please show us an example. COALESCE just returns the first non-null value for the set of values passed to it.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -