July 7, 2002 at 8:04 pm
Hi All,
Is it possible to pass parameters to a cursor in t- sql, as we can do in PL/SQL?
I need to write a parameterized cursor in a stored procedure. Please help me out with it.
February 28, 2005 at 3:22 pm
Any help on this at all. I have the same question.
Arthur Lorenzini
March 1, 2005 at 8:46 am
The parm is to limit the cursor rows?
DECLARE mycursor CURSOR FOR
SELECT cols
FROM mytable
WHERE col1 = @myparm
OPEN mycursor.....
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy