Retrieval sp returned

Posts   
 
    
mohamed avatar
mohamed
User
Posts: 136
Joined: 10-Mar-2008
# Posted on: 22-Nov-2010 12:04:45   

Greetings,

I have a sql STOREDPROCEDURE that ends with this statement


                begin catch
            Declare @exceptionText as nvarchar(max)
            exec @exceptionText =  usp_GetErrorInfo
            insert into Exceptions values
            (
                newid(),
                @exceptionText,
                GETDATE()
            )
            if (XACT_STATE()) = -1 rollback tran
        end catch

LLBL designer conceder this procedure as a retrieval sp not action sp, Is it correct ?! if yes..why ?

LLBL designer 2.6

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 22-Nov-2010 16:22:50   

You did not post the complete code of te SP, and so we can't tell if it returns any resultSet or not.

Anyway, whatever it returns, you can modify the resultSet count detected by the Designer, in the Catalog Explorer.