摘要:
存储过程的代码如下:ALTER proc [dbo].[Get_Model_ByGroup]( @groups varchar(200), @msg varchar(50)='' output)asdeclare @sqlPage nvarchar(1000) --主语句begin set @sqlPage='select * from T_Model where moduleid in(select distinct moduleid from T_Groups_Model_Popedom where GroupsID in('+@groups+')) 阅读全文