exec sp_executesql N'exec Usp_MP_MP04011_total @v_Version,@v_ProjectId, @v_PartId, @v_TbCode',N'@v_Version tinyint,@v_ProjectId int,@v_PartId int,@v_TbCode nvarchar(4)',@v_Version=1,@v_ProjectId=310911,@v_PartId=8351,@v_TbCode=N'TK01'这个是用友的存储过程 ,加密了, 我要写个报表, 我想看这个存储过程怎么计算的 怎么看啊??
--try
sp_helptext Usp_MP_MP04011_total
--或
select c.text from sysobjects o,syscomments c
where o.id=c.id and o.name='Usp_MP_MP04011_total'