views:

34

answers:

1

Cannot use the ROLLBACK statement within an INSERT-EXEC statement

I am using two stored procedures. the first sp returns some int value

I am using this in the second sp with INSERT EXEC

But when i am executing the second sp , I am getting the above error

Please help