Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的数据库中有一个新序列。
我需要向我的网络用户授予什么权限才能使用该序列?我尝试在序列上授予选择权限,但网络用户似乎仍然看不到它。
我认为“选择”就足够了。您的查询是否正确限定了序列所在的架构?
select someschema.somesequence.nextval from dual;
GRANT SELECT, ALTER ON SOMESCHEMA.SQ_SOMESEQUENCE TO OTHERSCHEMA WITH GRANT OPTION;