Stored Procedure...
Hi,
How do I write a stored procedure for the below SQL Query.
select UserID,UserName from [User] where UserID in (1,4,5)
Meaning: I would like to have a way for my Stored Procedure to pass 1,4,5 as a parameter. The number of IDs is going to be dynamic... Can I have a text as param and a mechanism in which i can do a split and ...
Please Help!
Advice,
Babloo
|