Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004
    Posts
    13

    Unanswered: Putting data from a store procedure into a cursor

    The tile says it all... How to put into a Cursor the result of a procedure that selects certain rows.
    Last edited by Zero_Gravity; 06-21-04 at 18:32.

  2. #2
    Join Date
    Apr 2004
    Location
    Kansas City, MO
    Posts
    734
    1. Create a temp table (not a table variable).
    2. INSERT #table(column_list) EXEC procedure
    3. Load the cursor.
    MeanOldDBA
    derrickleggett@hotmail.com
    When life gives you a lemon, fire the DBA.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •