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)
 Select with many conditions for many columns. Help

Author  Topic 

txk2601
Starting Member

19 Posts

Posted - 2009-04-05 : 08:09:29
Hi all. I have got a problem with select with many conditions for many column. I have a table with many column. Now, i wan't choose some column with each column has one condition from table columns. Please show me idea for this problem. Thanks!

vijayisonly
Master Smack Fu Yak Hacker

1836 Posts

Posted - 2009-04-05 : 16:19:12
We will show you the idea when you show us your question in this format.

http://weblogs.sqlteam.com/brettk/archive/2005/05/25.aspx
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-04-06 : 05:48:03
quote:
Originally posted by txk2601

Hi all. I have got a problem with select with many conditions for many column. I have a table with many column. Now, i wan't choose some column with each column has one condition from table columns. Please show me idea for this problem. Thanks!



Looks like you need to use too much of dynamic sql
www.sommarskog.se/dynamic_sql.html

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -