Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews DB Oracle Interviews:Concepts and ArchitectureData AccessDatabase ArchitectureDatabase ManagementDatabase Security OracleDistributed ProcessingFlexfieldForms ReportsGeneral OracleMemory ManagementMTO-SAP Financial AccountingOCIOracle AOLOracle AROracle Backup RecoveryOracle D2KOracle DatabaseOracle Database DeveloperOracle DB OptimizationOracle DBAOracle DeveloperOracle ETLOracle Forms 3.0Oracle Forms 4.0Oracle GLOracle PL-SQLOracle RMANOracle ScenariosOracle SecurityOracle SQLOracle System ArchitectureOracle Technology Network (OTN)Programmatic ConstructsRAC (Real Application Clusters)SQL Plus
Copyright © 2018. All Rights Reserved
Oracle Database Interview Question:
What Is a Directory Object?
Submitted by: AdministratorA directory object is a logical alias for a physical directory path name on the operating system. Directory objects can be created, dropped, and granted access permissions to different users. The following tutorial exercise shows you some good examples:
>sqlplus /nolog
SQL> connect SYSTEM/globalguideline
SQL> CREATE DIRECTORY test_dir AS '/oraclexe/test';
Directory created.
SQL> GRANT READ ON DIRECTORY test_dir TO hr;
Grant succeeded.
SQL> GRANT WRITE ON DIRECTORY test_dir TO hr;
Grant succeeded.
SQL> CREATE DIRECTORY temp_dir AS '/oraclexe/temp';
Directory created.
SQL> DROP DIRECTORY temp_dir;
Directory dropped.
Submitted by: Administrator
>sqlplus /nolog
SQL> connect SYSTEM/globalguideline
SQL> CREATE DIRECTORY test_dir AS '/oraclexe/test';
Directory created.
SQL> GRANT READ ON DIRECTORY test_dir TO hr;
Grant succeeded.
SQL> GRANT WRITE ON DIRECTORY test_dir TO hr;
Grant succeeded.
SQL> CREATE DIRECTORY temp_dir AS '/oraclexe/temp';
Directory created.
SQL> DROP DIRECTORY temp_dir;
Directory dropped.
Submitted by: Administrator
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.

https://InterviewQuestionsAnswers.ORG.
