Hi all,
I'm creating a stored procedure that will return a number of records to the calling agent - in this case an ASP application.
In the ASP page, I have a comma-delimited set of project numbers. I'd like the SP to only return data for those project numbers.
Do I need pass-through SQL? If so, what is the correct way to write it? A simple select as an example would be great.
Also, something tells me this is inefficient - any other methods I should consider?
Thanks,
Cory
*cLFlaVA
----------------------------
[tt]somebody set up us the bomb!
[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
I'm creating a stored procedure that will return a number of records to the calling agent - in this case an ASP application.
In the ASP page, I have a comma-delimited set of project numbers. I'd like the SP to only return data for those project numbers.
Do I need pass-through SQL? If so, what is the correct way to write it? A simple select as an example would be great.
Also, something tells me this is inefficient - any other methods I should consider?
Thanks,
Cory
*cLFlaVA
----------------------------
[tt]somebody set up us the bomb!
![[bomb] [bomb] [bomb]](/data/assets/smilies/bomb.gif)
[URL unfurl="true"]http://www.coryarthus.com/[/url]