0

i will try a select into my Stored Procedure like a while

e.g.

while ( select * from t where t.c = 1 into test_t )
{
    var_t_e = test_t.c;
}

i hope i can be helped here. :)

1
  • Try phrasing this as a question ;) Commented Nov 11, 2009 at 12:59

1 Answer 1

1

Look at this documentation on using cursors in your stored procedure.

Edit based on comment:

I'm not quite sure what you're asking for based on your comment. If you can clarify I can try and give you a more specific example. Here is a link that goes through the steps of producing a stored procedure with a cursor with some good information on the individual steps and also when you shouldn't use a cursor. This may be more helpful for you.

Sign up to request clarification or add additional context in comments.

1 Comment

Tanks i think its make my problem out :) can you make a sample if i use 2 on each time? :) and tanks for the link.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.