use =Here you can see some default values for the parameters.BEGIN TRANSACTIONGOCREATE PROCEDURE dbo.GestionStatutDossier-- Add the parameters for the stored procedure here@StaId int = NULL,@DosID uniqueidentifier,@staDate datetime = '20120101',@staBL nvarchar (50) = 'FOO',@staCRprod nvarchar (50) = NULLAS BEGIN SELECT @StaId , @DosID , @staDate , @staBL , @staCRprodENDGODECLARE @dosID UNIQUEIDENTIFIER = NEWID()EXEC dbo.GestionStatutDossier @DosID = @dosIDGOROLLBACK TRANSACTION
Charlie===============================================================Msg 3903, Level 16, State 1, Line 1736The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION