I am calling different SPs inside a single sp, but i am having some problem when i am returning and getting id from sps
here is my sp
DECLARE @MemberID int
DECLARE @GroupID int
SET MemberID =EXEC dbo.spInsertMember @FBID,@FirstName,@LastName,@Email,@Mobile,@Nationality,@Country,@DOB,@Gender,@IsActive,@Modified,@Created
SET @GroupID =EXEC dbo.spInsertGroup @Name,@GroupIsActive,@GroupModified,@GroupCreated