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)
 case based on results of query

Author  Topic 

kadrove
Starting Member

13 Posts

Posted - 2002-09-27 : 16:59:34
I need to write a CASE statement based on when the recordset count of my Query = 0. Is it possible to do this as part of the same query?

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-09-27 : 17:51:39
You need to post the SQL that you have, some sample data, and an example of the output you want to get from it.

Go to Top of Page
   

- Advertisement -