【发布时间】:2010-08-05 07:16:20
【问题描述】:
ALTER PROCEDURE dbo.StoredProcedure8
@emp_code bigint,
@co_id bigint,
@p decimal(8,2) output
AS
SELECT @p = (select sum(tran_value) from emp_ded_ben_trans where emp_code=@emp_code and co_id=@co_id and period_flg=2 and tax_flg=0)
RETURN
【问题讨论】:
-
你有什么问题?
标签: sql sql-server-2005 tsql stored-procedures output-parameter