Insufficient Privileges when creating tables in Oracle SQL Developer

眉间皱痕 提交于 2019-12-09 07:59:18

问题


I have granted the user in my connection to create tables, triggers, procedures, and sequence using sql+ (grant create table to <my_user>); however, that still does not allow me to create a table in that schema showing the error message:

java.sql.sqlsyntaxerrorexception ora-01031 insufficient privileges

select * from session_privs; shows:

PRIVILEGE
UNLIMITED TABLESPACE
CREATE TABLE
CREATE CLUSTER
CREATE SEQUENCE
CREATE PROCEDURE
CREATE TRIGGER
CREATE TYPE
CREATE OPERATOR
CREATE INDEXTYPE

Does anybody know what I am doing wrong here? I am just setting up pl/sql developer at home, so everything is brand new. Does this have anything to do with TABLESPACE?


回答1:


Run the following command from a privileged user and re-connect with your user:

GRANT RESOURCE to my_user;



来源:https://stackoverflow.com/questions/19216392/insufficient-privileges-when-creating-tables-in-oracle-sql-developer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!