IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[privateview_20]') AND type = 'V')
DROP VIEW [dbo].[privateview_20]
GO
CREATE VIEW [dbo].[privateview_20]
AS
select 
lgu_cuid as objid,
lgu_name as [姓名],
lgu_title as [岗位],
lgu_otid as otid,
lgu_dpid as dpid 
from mps_login_role