August 19, 2002 at 4:23 am
I've got a SP that runs a query to get a list of users. I then pass a userid to a function only if the userid meets a specific criteria. This runs great if only one userid meets the criteria. How can I pass more that one userid to a function sequencially? Like if three userid's meet the criteria pass userid 1, then when the function completes pass userid 2 etc.
This shouldn't be too difficult but it is beyond me at the moment...
Thanks
"It makes me want to run around the Server Room in a Super-Hero Costume"
"It makes me want to run around the Server Room in a Super-Hero Costume"
August 19, 2002 at 6:53 am
Wouldn't this work?
SELECT MyFunction(userid)
FROM MYTABLE
WHERE userid = some_criteria
Chris Hedgate @ Apptus Technologies (http://www.apptus.se)
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply