Cách thực thi store có truyền param, output
DECLARE @newSCT nvarchar(50);
EXEC CREATE_DANHBA @QUAN=’20’, @PHUONG = ’31’, @TEMP=”, @SCT= @newSCT OUTPUT;
SELECT @newSCT
Cuối đầu lạy Phật chốn này – Ngẩng lên đã thấy hiển bày Tây phương
Cách thực thi store có truyền param, output
DECLARE @newSCT nvarchar(50);
EXEC CREATE_DANHBA @QUAN=’20’, @PHUONG = ’31’, @TEMP=”, @SCT= @newSCT OUTPUT;
SELECT @newSCT