DECLARE @RC int
EXEC @RC = [baza].[dbo].[procedura_lista]
DECLARE @PrnLine nvarchar(4000)
PRINT 'Stored Procedure'
SELECT @PrnLine = ' Return Code = ' + CONVERT(nvarchar, @RC)
PRINT @PrnLine
28 lip 2008
DECLARE @RC int
EXEC @RC = [baza].[dbo].[procedura_lista]
DECLARE @PrnLine nvarchar(4000)
PRINT 'Stored Procedure'
SELECT @PrnLine = ' Return Code = ' + CONVERT(nvarchar, @RC)
PRINT @PrnLine