Results 1 to 3 of 3

Thread: catch Return value from storeproc

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Springfield
    Posts
    120

    catch Return value from storeproc

    Can some one tell me how to catch the return value from store procedure in VB.

    I have a storeproc as

    create Procedure StoredProcedure2
    select * from agent
    return 5

    I would like to catch the 5 in my VB code, can someone tell me how to do it? Thanks in advance
    MM

  2. #2
    Addicted Member GungaDin's Avatar
    Join Date
    Apr 2001
    Location
    Brisbane, Australia
    Posts
    146
    Is this an Oracle Stored Procedure or something else?

    It it's oracle, then I can show you some sample code that should let you do it.

    Otherwise, I won't bother.

    "The difference between genius and stupidity is that genius has its limits."

    - Albert Einstein

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Springfield
    Posts
    120

    It is sql server 7.0

    Thanks very much, but it is sql server
    MM

Posting Permissions

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



Click Here to Expand Forum to Full Width