--查询权限函数 --1 declare @names varchar(3000) set @names='' select @names=@names+isnull(AdminPermissFormName,'')+' , ' from BookAdminPermissTypeList where AdminPermissTypeID in(8,9,10) set @names=left(@names,len(@names)-1) print @names select @names --2…