zoukankan      html  css  js  c++  java
  • oracle 唯独测试视图

    --建立用户分配权限
    create user groper identified by groper
    /
     grant connect,resource to groper
    /
    grant create  synonym  to groper
    /
    --赋予视图权限
    
    begin
    
    grant select on FYBJY.V_LQT_DIAGNOSIS  to  groper;
    
    grant select on FYBJY.V_LQT_DIC_DEPT  to  groper;
    
    grant select on FYBJY.V_LQT_DIC_DRUG  to  groper;
    
    grant select on FYBJY.V_LQT_DIC_EMPLOYEES  to  groper;
    
    grant select on FYBJY.V_LQT_DIC_ICD10  to  groper;
    
    grant select on FYBJY.V_LQT_EMR  to  groper;
    
    grant select on FYBJY.V_LQT_OPER  to  groper;
    
    grant select on FYBJY.V_LQT_ORDERS  to  groper;
    
    grant select on FYBJY.V_LQT_STOOL  to  groper;
    
    grant select on FYBJY.V_LQT_TEMP  to  groper;
    
    grant select on FYBJY.V_LQT_VISIT_ZY  to  groper;
    
    grant select on FYBJY.V_LQT_ZKMX  to  groper;
    
    end;
    
    /
    --登录groper用户创建同义词
    
    
    create or replace synonym V_LQT_DIAGNOSIS for FYBJY.V_LQT_DIAGNOSIS  
    
    create or replace synonym V_LQT_DIC_DEPT for FYBJY.V_LQT_DIC_DEPT  
    
    create or replace synonym V_LQT_DIC_DRUG for FYBJY.V_LQT_DIC_DRUG  
    
    create or replace synonym V_LQT_DIC_EMPLOYEES for FYBJY.V_LQT_DIC_EMPLOYEES  
    
    create or replace synonym V_LQT_DIC_ICD10 for FYBJY.V_LQT_DIC_ICD10  
    
    create or replace synonym V_LQT_EMR for FYBJY.V_LQT_EMR  
    
    create or replace synonym V_LQT_OPER for FYBJY.V_LQT_OPER  
    
    create or replace synonym V_LQT_ORDERS for FYBJY.V_LQT_ORDERS  
    
    create or replace synonym V_LQT_STOOL for FYBJY.V_LQT_STOOL  
    
    create or replace synonym V_LQT_TEMP for FYBJY.V_LQT_TEMP  
    
    create or replace synonym V_LQT_VISIT_ZY for FYBJY.V_LQT_VISIT_ZY  
    
    create or replace synonym V_LQT_ZKMX for FYBJY.V_LQT_ZKMX  
    
    
    /
    
  • 相关阅读:
    Referenced file contains errors (http://www.springframework.org/...解决
    Echarts的提示(Tooltip)显示额外内容
    后端&前端零碎知识点和注意问题
    RocketMQ 4.5.1 双主双从异步复制环境搭建
    个人时间管理
    Windows系统封装教程
    你要如何衡量你的人生
    如何让你爱的人爱上你
    舔狗不会永远舔你的爱答不理和高冷
    关于小孩的教育问题
  • 原文地址:https://www.cnblogs.com/CoreXin/p/11755487.html
Copyright © 2011-2022 走看看