which madatory clause has to be added to the following statements successfully create an external table called EMPDET? CREATE TABLE EMPDET( empno CHAR(2) ,ename CHAR(5) ,deptno N?UMBER(4)) ORGANIZATION EXTERNAL ( LOCATION('emp.dat'));
-
TYPE
-
REJECT LIMIT
-
ACESS PARAMETERS
-
DEFAULT DIRECTORY
D
Correct answer
Explanation
External tables in Oracle require a DEFAULT DIRECTORY clause to specify where the external data file is located. The LOCATION parameter points to the file, but DEFAULT DIRECTORY tells Oracle which directory object to use. Without it, Oracle cannot access the external file.