Results 1 to 17 of 17

Thread: [RESOLVED] Stored Procedure return values problem

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    308

    Resolved [RESOLVED] Stored Procedure return values problem

    *Edit*

    Hi Chaps.

    This is breaking my head, wonder if any of you nice people could help me out?

    I have a stored procedure that calls another stored procedure to return a string

    The syntax from SQL books to return the value is to use an output parameter and this works in Query Analyzer:

    Code:
     
    EXEC spGetCalleeRecIDSQL 2,@CampaignName,@REC = @RECID
    The problem is in the procedure when I check @RECID its is blank when it comes back ?

    I have traced thru the inner procedure and it works fine but the code in the outer procedure does'nt get past the EXEC line.

    Help please ???? humbly grateful... please ???... call me a muppet if you need to, just need to fix this...

    Cheers

    Chubby..
    Last edited by Chubby; Mar 30th, 2006 at 03:49 AM.

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