V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
huage
V2EX  ›  Oracle

如何授权 oracle 用户只能操作指定表空间中指定的表呢?

  •  
  •   huage · Aug 4, 2017 · 2626 views
    This topic created in 3201 days ago, the information mentioned may be changed or developed.

    oracle 11g 中有多个表空间,例如 data1,data2 两个表空间。

    新建了一个用户 user2,指定了它的默认表空间是 data2,CREATE USER user2 IDENTIFIED BY user2 DEFAULT TABLESPACE DATA02 TEMPORARY TABLESPACE temp;

    例如表空间 data2 中有 table21,table22 两个数据表。

    怎么样授权给 user2,才能限制它只能看到 data2,只能操作 table21,table22 这两个数据表呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1645 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:22 · PVG 00:22 · LAX 09:22 · JFK 12:22
    ♥ Do have faith in what you're doing.