USE Wage GO DECLARE @myTotal INT SELECT @myTotal = 0 EXEC dbo.Sum_Wage @PWage = 6000, -- int @AWage = 100, -- int @Total = @myTotal OUT -- int PRINT ‘一共加薪:‘+ CONVERT(VARCHAR, @myTotal) + ‘元‘ PRINT ‘加薪的程序的工资列表‘ SELECT * FROM dbo.ProWage
时间: 2024-10-06 12:12:11