摘要:
--建立账号create user 账号 identified by 密码--赋予连接数据库的权限grant connect to 账号--赋予查看视图的权限,也包含形成视图的表GRANT SELECT ON 视图 TO 账号 切换账号以后,运行查询语句在表名前添加管理员.前缀 select * f 阅读全文
摘要:
适用于树状结构,关键在于ParentGuid和Guid --方案一 with A as ( select Guid,ParentGuid,Name_CN,IsProduceBizEntity,1 as xh from dbo.BAS_OrgFrame where Guid='000000020129 阅读全文