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
 General SQL Server Forums
 New to SQL Server Programming
 storeprocedure variable at IN condition

Author  Topic 

joshherman
Starting Member

13 Posts

Posted - 2011-05-19 : 04:49:59
i have sql like this :

select code,name,country from customers
where country in ('USA','AUSTRALIA')

how to create that in store procedure and this value ('USA','AUSTRALIA') input by variable

thank you

programming

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2011-05-19 : 05:08:43
http://vyaskn.tripod.com/passing_arrays_to_stored_procedures.htm


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

joshherman
Starting Member

13 Posts

Posted - 2011-05-19 : 05:17:17
thank you :)

programming
Go to Top of Page
   

- Advertisement -