How To Solve Ora-01031 Insufficient Privilege
How To Solve Ora-01031: Insufficient Privilege
Create Objects And Facilities
It Is Unusual, But Possible, To Give A Schema A Privilege Like Delete Without Granting Select.
GRANT ALL PRIVILEGES TO test;
SELECT *
FROM dba_sys_privs
WHERE grantee = 'DBA'
ORDER BY privilege;
CREATE USER test
IDENTIFIED BY test123;
GRANT CREATE SESSION TO test;
GRANT CREATE TABLE TO test;
GRANT INSERT, UPDATE, DELETE ON test.t1 TO test;
GRANT REFERENCES ON hr.employees TO test;
GRANT INDEX ON sh.customers TO test;
CREATE INDEX customer_id_gen_idx
ON sh.t1 (t_id, t_gender);
GRANT SELECT ON sh.sales TO test;
GRANT CREATE ANY DIRECTORY, DROP ANY DIRECTORY TO test;
REVOKE CREATE ANY DIRECTORY, DROP ANY DIRECTORY FROM test;
BEGIN
EXECUTE IMMEDIATE 'drop directory test_path';
EXECUTE IMMEDIATE 'create or replace directory test_path as ''/u02/tmp''';
END;
DBA_TABLES and USER_TABLES in PL SQL cursor
The User Must Have Select Privileges In That View. To Check If The User Has Select Permission Against This View, Log In As This User And Run The Following Query:
SELECT *
FROM user_tab_privs
WHERE table_name = 'DBA_TABLES';
SELECT *
FROM user_tab_privs
WHERE table_name = 'DBA_TABLES';
GRANT SELECT ON DBA_TABLES TO test;
SELECT table_name, privilege
FROM user_tab_privs
WHERE table_name = 'DBA_TABLES';
SELECT TABLESPACE_NAME, CONTENTS, BIGFILE FROM DBA_TABLESPACES;
SELECT TABLESPACE_NAME,
ROUND (SUM (BYTES) / (1024 * 1024 * 1024), 2) SUM_GB,
ROUND (MAXBYTES / (1024 * 1024 * 1024), 2) MAX_GB,
AUTOEXTENSIBLE
FROM DBA_DATA_FILES
GROUP BY TABLESPACE_NAME, MAXBYTES, AUTOEXTENSIBLE;
SELECT TABLESPACE_NAME,
ROUND (SUM (BYTES) / (1024 * 1024 * 1024), 2) SUM_GB,
ROUND (MAXBYTES / (1024 * 1024 * 1024), 2) MAX_GB,
AUTOEXTENSIBLE
FROM DBA_TEMP_FILES
GROUP BY TABLESPACE_NAME, MAXBYTES, AUTOEXTENSIBLE;
🔗 Demo Application-
URL- Demo Application
Username - demo, Pass- demo
I hope everyone will like it. Please watch the full video,
Comment on any of your problems, I will try my best to solve the problem, In-Shah Allah. Everyone's cooperation is desirable. Visit my blog site, new technology related videos, you will get different types of tutorials of Oracle Apex, and hopefully, you can use them in your daily work.
Please stay tuned by subscribing to the YouTube channel, and encourages new videos to be uploaded.
=================
Visit my site to get more collaborative posts about Oracle Apex and subscribe to my YouTube channel. Thanks.
Comment on any of your issues, I will try my best to solve the problem, In-Shah Allah. Everyone's cooperation is desirable.
Visit my blog site, new technology-related videos, you will get different types of tutorials of Oracle Apex, and hopefully, you can use them in your daily work.
==============================
🙍🏾 Md jABER HOSSEN
📲 Mobile- +8801760688286
📨 Email- jaberit786@gmail.com
🌐 FB- facebook.com/mdjaber.hossen1
Please Subscribe to My Channel
Many thanks for visiting the site.
Then Enjoy.........................
🔗 Demo Application-
URL- Demo Application
Username - demo, Pass- demo
I hope everyone will like it. Please watch the full video,
Comment on any of your problems, I will try my best to solve the problem, In-Shah Allah. Everyone's cooperation is desirable. Visit my blog site, new technology related videos, you will get different types of tutorials of Oracle Apex, and hopefully, you can use them in your daily work.
Please stay tuned by subscribing to the YouTube channel, and encourages new videos to be uploaded.
=================
Visit my site to get more collaborative posts about Oracle Apex and subscribe to my YouTube channel. Thanks.
Comment on any of your issues, I will try my best to solve the problem, In-Shah Allah. Everyone's cooperation is desirable.
Visit my blog site, new technology-related videos, you will get different types of tutorials of Oracle Apex, and hopefully, you can use them in your daily work.
==============================
🙍🏾 Md jABER HOSSEN
📲 Mobile- +8801760688286
📨 Email- jaberit786@gmail.com
🌐 FB- facebook.com/mdjaber.hossen1
Please Subscribe to My Channel
Many thanks for visiting the site.
Then Enjoy.........................