READ Free Dumps For Oracle- 1z0-001
Question ID 1597 | You create the sale table with this command: |
Option A | A. No indexes are created for this table. |
Option B | B. An index is created for each column. |
Option C | C. An index is created for the customer_id column. |
Option D | D. An index is created for the purchase_no column. |
Correct Answer | D |
Question ID 1598 | You created the patient_id_seq sequence to be used with the patient table's primary key column. The sequence begins at 1000, has a maximum value of 999999999, and increments by 1. You need to write a script to insert a row into the patient table and use the sequence you created. Which script would you use to complete this task? |
Option A | A. INSERT INTO patient (id_number, last_name, first_name, birth_date) VALUES (patient_id_seq, last_name, first_name, birth_date) |
Option B | B. INSERT INTO patient (id_number, last_name, first_name, birth_date) VALUES (patient_id_seq.NEXTVAL, &last_name, &first_name, &birth_date) / |
Option C | C. INSERT INTO patient (id_number, last_name, first_name, birth_date) |
Option D | D. INSERT INTO patient (id_number) VALUES (patient_id_seq.NEXTVALUE) |
Correct Answer | B |