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
 SQL Server Development (2000)
 Can IN Clause be dynamic ?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-02-19 : 08:57:33
Krishna writes "Hi

SELECT OrderNo
FROM Orders
WHERE OrderNo IN (@SelectedOrders)

Here @SelectedOrders can include one or more OrderNos.

Is there any way to get the desired results ?
Any workarounds ?

Thank you

Krishna Kumar"

ToddV
Posting Yak Master

218 Posts

Posted - 2002-02-19 : 09:04:43
try here:
http://www.sqlteam.com/item.asp?ItemID=4619

Go to Top of Page
   

- Advertisement -