标签:user cti upn active name where create arch varchar
create procedure p_Basic_Core_SystemMenuGroup_CTC_User
(
@ID varchar(50),
@AppCode varchar(50)
)
as
begin
select a.UserCode,a.GroupGuid,a.CreateUserCode,a.CreateTime
,b.GroupName,c.UserName
FROM Basic_Core_SystemMenuGroup_CTC_User as a
left join Basic_Core_SystemMenuGroup as b on b.GroupGuid=a.GroupGuid
left join Basic_Core_User as c on c.UserCode=a.UserCode
where A.UserCode!=@ID
and b.AppCode=@AppCode AND c.IsActive=1
end
标签:user cti upn active name where create arch varchar
原文地址:http://www.cnblogs.com/niuniu0108/p/7323368.html