Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Multiple value in single parameter
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

70 Posts

Posted - 03/06/2014 :  22:24:16  Show Profile  Reply with Quote
Hi all,
I have a question:
I am writting the T-SQL using some parameters. One of the parameter is to display the ZoneID which has about 2100 records. So I declare the parameter (called it @ZoneID varchar(max)). Now, how do I make all the value available for multiple selection? For example, if I execute the query, I can put the ZoneID (for example:) YH09, TR45, TTS0.

Thank you


In (Som, Ni, Yak)

17689 Posts

Posted - 03/06/2014 :  22:33:42  Show Profile  Reply with Quote
please do read

Time is always against us

Go to Top of Page

Yak Posting Veteran

70 Posts

Posted - 03/06/2014 :  22:45:05  Show Profile  Reply with Quote
Thank you Khtan. I checked the link and very helpful. Thank you.

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000