tuine
V2EX  ›  Oracle

oracle 如何给默认 schema 其他模式视图的查询关联及权限

  •  
  •   tuine · Sep 25, 2022 · 1365 views
    This topic created in 1352 days ago, the information mentioned may be changed or developed.

    ORACLE 使用不太熟悉,最近对接 oracle 视图数据,给了个用户叫 TEST ,查了下默认的 schema 会是 TEST ,然后视图在 UCENTER 中,每次查询视图都要指定前缀:select * from UCENTER.USER, 之前对接过也是类似情况就不需要指定,求助如何设置?

    Supplement 1  ·  Sep 25, 2022
    直接查询 select * from USER ;报错 ORA-00942: table or view does not exist 。如何给 TEST 有用户设置权限才可以直接不用指定 schema 啊~
    songpengf117
        1
    songpengf117  
       Sep 25, 2022 via iPhone
    不想每次带用户名 可以创建同义词
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2988 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 14:36 · PVG 22:36 · LAX 07:36 · JFK 10:36
    ♥ Do have faith in what you're doing.