One option is to create a processing table (container) which contains the userid (or unique id (newid() ) and the records you need for processing, perform your processing and clean up those recordscreate table Container (UserID varchar(20),n int)GOcreate proc up_procA @UserID varchar(20)as set nocount on --Do some kind of processing --and insert into table insert into Container select @UserID,1GOcreate proc up_procB @UserID varchar(20)as set nocount on EXEC up_procA @userID select * from container delete from container where userID = @UserID GOexec up_procB 'SomeUser'GOdrop proc up_procBdrop proc up_procAdrop table container