CLOB
BLOB
BFILE
LONG RAW
第1题:
You added a PHONE_NUMBER column of NUMBER data type to an existing EMPLOYEES table. The EMPLOYEES table already contains records of 100 employees. Now, you want to enter the phone numbers of each of the 100 employees into the table. Some of the employees may not have a phone number available. Which data manipulation operation do you perform?()
第2题:
On Jan 11, 2005 at 2:30 P.M., an erroneous update operation modified all the values of column LASTNAME in the EMPLOYEE table in the Scott schema to an empty string. You are the system administrator, and you want to return the original values in the table. To do so, you decided to flash back the table. Which two options can you use to flash back a table?()
第3题:
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER NOT NULL, Primary Key EMP_NAME VARCHAR2(30) JOB_ID NUMBER/ SAL NUMBER MGR_ID NUMBER References EMPLOYEE_ID column DEPARTMENT_ID NUMBER Foreign key to DEPARTMENT_ID column of the DEPARTMENTS table You created a sequence called EMP_ID_SEQ in orderto populate sequential values for the EMPLOYEE_ID column of the EMPLOYEES table. Which two statements regarding the EMP_ID_SEQ sequence are true? ()
第4题:
You want to access employee details contained in flat files as part of the EMPLOYEE table. You plan to add anew column to the EMPLOYEE table to achieve this. Which data type would you use for the new column()
第5题:
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER NOT NULL, Primary Key EMP_NAME VARCHAR2(30) JOB_ID NUMBER SAL NUMBER MGR_ID NUMBER References EMPLOYEE_ID column DEPARTMENT_ID NUMBER Foreign key to DEPARTMENT_ID column of the DEPARTMENTS table You created a sequence called EMP_ID_SEQ in order to populate sequential values for the EMPLOYEE_ID column of the EMPLOYEES table. Which two statements regarding the EMP_ID_SEQ sequence are true? ()
第6题:
ALTER VIEW emp_dept_vu (ADD manager_id NUMBER);
MODIFY VIEW emp_dept_vu (ADD manager_id NUMBER);
ALTER VIEW emp_dept_vu AS SELECT employee_id, employee_name, department_name, manager_id FROM employee e, departments d WHERE e.department_id = d.department_id;
MODIFY VIEW emp_dept_vu AS SELECT employee_id, employee_name, department_name, manager_id FROM employees e, departments d WHERE e.department_id = d.department_id;
CREATE OR REPLACE VIEW emp_dept_vu AS SELECT employee_id, employee_name, department_name, manager_id FROM employees e, departments d WHERE e.department_id = d.department_id;
You must remove the existing view first, and then run the CREATE VIEW command with a new column list to modify a view.
第7题:
CLOB
BLOB
BFILE
LONG RAW
第8题:
ALTER VIEW EMP_dept_vu (ADD manger_id NUMBER);
MODIFY VIEW EMP_dept_vu (ADD manger_id NUMBER);
ALTER VIEW emp_dept_vu AS SELECT employee_id, employee_name, department_name, manager_id FROM employee e, departments d WHERE e.department _ id = d.department_id;
MODIFY VIEW emp_dept_vu AS SELECT employee_id, employee_name, department_name, manager_id FROM employees e, departments d WHERE e.department _ id = d.department_id;
CREATE OR REPLACE VIEW emp_dept_vu AS SELECT employee_id, employee_name, department_name, manager_id FROM employees e, departments d WHERE e.department _ id = d.department_id;
You must remove the existing view first, and then run the CREATE VIEW command with a new column list to modify a view.
第9题:
You cannot use the EMP_ID_SEQ sequence to populate the JOB_ID column.
The EMP_ID_SEQ sequence is invalidated when you modify the EMPLOYEE_ID column.
The EMP_ID_SEQ sequence is not affected by modifications to the EMPLOYEES table.
Any other column of NUMBER data type in your schema can use the EMP_ID_SEQ sequence.
The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEES table.
The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEE_ID column.
第10题:
Define the new column as NULL.Update the FriendlyName column to the same value as the productName column. Alter the FriendlyName column to be NOT NULL.
Define the new column as NOT NULL with a default value of ’Undefined.’
Define the new column as NULL. Use application logic to enforce the data constraint.
Define the new column as NULL with a default value of ’Undefined.’
第11题:
heap tables
object tables
partitioned tables
index-organized tables (IOTs)
第12题:
CLOB
BLOB
BFILE
LONG RAW
第13题:
What type of constraint is used to ensure that each row inserted into the EMPLOYEE table with a value in the WORKDEPT column has a row with a corresponding value in the DEPTNO column of the DEPARTMENT table?()
第14题:
You created a view called EMP_DEPT_VU that contains three columns from the EMPLOYEES and DEPARTMENTS tables: EMPLOYEE_ID, EMPLOYEE_NAME AND DEPARTMENT_NAME. The DEPARTMENT_ID column of the EMPLOYEES table is the foreign key to the primary key DEPARTMENT_ID column of the DEPARTMENTS table. You want to modify the view by adding a fourth column, MANAGER_ID of NUMBER data type from the EMPLOYEES tables. How can you accomplish this task?()
第15题:
You added a PHONE_NUMBER column of NUMBER data type to an existing EMPLOYEES table. The EMPLOYEES table already contains records of 100 employees. Now, you want to enter the phone numbers of each of the 100 employees into the table. Some of the employees may not have a phone number available. Which data manipulation operation do you perform?()
第16题:
You want to access employee details contained in flat files as part of the EMPLOYEE table. You planto add a new column to the EMPLOYEE table to achieve this. Which data type would you use for the new column()
第17题:
You are modifying a table named Product in a SQL Server 2005 database. You want to add a new column named FriendlyName to the Product table. A friendly name for each product will be stored in this column. The table currently contains data. The sales department has not yet created a friendly name for each product. FriendlyName is a required value for each product. You want to add this new column by using the least amount of effort. What should you do?()
第18题:
by using Oracle Enterprise Manager
by issuing the FLASHBACK TABLE statement at the RMAN prompt
by issuing the FLASHBACK TABLE statement at the SQL prompt
by issuing the FLASHBACK TABLE statement at the LSNRCTL prompt
第19题:
You cannot use the EMP_ID_SEQ sequence to populate the JOB_ID column.
The EMP_ID_SEQ sequence is invalidated when you modify the EMPLOYEE_ID column.
The EMP_ID_SEQ sequence is not affected by modifications to the EMPLOYEES table.
Any other column of NUMBER data type in your schema can use the EMP_ID_SEQ sequence.
The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEES table.
The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEE_ID column.
第20题:
table
transactional trigger
stored procedure
FROM clause query
第21题:
You cannot use the EMP_ID_SEQ sequence to populate the JOB_ID column.
The EMP_ID_SEQ sequence is invalidated when you modify the EMPLOYEE_ID column.
The EMP_ID_SEQ sequence is not affected by modifications to the EMPLOYEES table.
Any other column of NUMBER data type in your schema can use the EMP_ID_SEQ sequence.
The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEES table.
The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEE_ID column.
第22题:
A check constraint on the EMPLOYEE table
A unique constraint on the EMPLOYEE table WORKDEPT column
A foreign key reference from the DEPARTMENT tables DEPTNO column to the WORKDEPT column of the EMPLOYEE table
A foreign key reference from the EMPLOYEE tables WORKDEPT column to the DEPTNO column of the DEPARTMENT table
第23题:
MERGE
INSERT
UPDATE
ADD
ENTER
You cannot enter the phone numbers for the existing employee records.
第24题:
MERGE
INSERT
UPDATE
ADD
ENTER
You cannot enter the phone numbers for the existing employee records.