Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2003
    Location
    Ohio/Chicago
    Posts
    75

    Unanswered: is it possible to call a stored procedure without a cursor?

    is it possible to call a stored procedure without a cursor?

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Absolutely.

  3. #3
    Join Date
    Jul 2003
    Location
    Ohio/Chicago
    Posts
    75
    hahaha, ok, well.... If it is possible, would you please tel me how, or the name how to do it, or even a link to a site that shows me how. I've searched high and low and can't seem to find out how, help would be appreciated, thanks

  4. #4
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    If the procedure is the first command in your code, you can simply call it by naming it:

    MyCustomProcedure
    select 'Procedure completed.'

    Otherwise, you need to use the EXEC command:

    select 'Getting ready to call the procedure...'
    exec MyCustomProcedure
    select 'Procedure completed.'

    blindman

Posting Permissions

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