READ Free Dumps For Oracle- 1z0-001
Question ID 8160 | Which statement would you use to add a primary key constraint to the patient table using the id_number column immediately enabling the constraint? |
Option A | This task can't be accomplished. |
Option B | ALTER TABLE patient ADD CONSTRAINT pat_id_pk PRIMARY KEY(id_number); |
Option C | ALTER TABLE patient ADD (id_number CONATRAINT pat_id_pk PRIMARY KEY); |
Option D | ALTER TABLE patient MODIFY(id_number CONSTRAINT pat_id_pk PRIMARY KEY); |
Correct Answer | B |
Question ID 8161 | You attempt to create the salary table with this command: 1. CREATE TABLE SALARY. 2. (employee_id NUMBER(9) 3. CONSTRAINT salary_pk PRIMARY KEY, 4. 1995_salary NUMBER(8,2), 5. NUMBER_manager_name VARCHAR2(25) 6. CONSTRAINT mgr_name_nn NOT NULL, 7. $_salary_96 NUMBER(8,2)); Which two lines of the statement will return errors? (Choose two) |
Option A | 1 |
Option B | 2 |
Option C | 3 |
Option D | 4 |
Option E | 5 |
Option F | 7 |
Correct Answer | DF |