sql - create table in a different schema -


i trying create table on different schema without using "create table" privilege. have application user/schema.

tablespace_name                    usedmb      maxmb ------------------------------ ---------- ---------- application                         .8125         50 

the application has quota on tablespace. user doesn't have quota on tablespace, , user's default tablespace application.

the application schema has existing tables.

table_name ------------------------------ customers 

the user can create session , belong role app_dev.

grantee         owner           table_name           privilege --------------- --------------- -------------------- --------------- app_dev         application     customers            delete app_dev         application     customers            select   grantee         privilege       admin_opt --------------- --------------- --------- app_dev         create table    no  grantee         granted_role --------------- ------------------ user            app_dev 

now trying create table on application schema user "user" getting error:

sql> create table application.test select * application.customers; create table application.test select * application.customers                                                            * error @ line 1: ora-01031: insufficient privileges 

i know problem can solved granting "create table" it's security risk. in addition, creating procedure on application schema , granting execution user wont help, because different kinds of tables created user , structure unknown.

is there way?

thanks, mj


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -