1z0-071 Exam Question 311

An Oracle database server session has an uncommitted transaction in progress which updated 5000 rows
in a table.
In which three situations does the transact ion complete thereby committing the updates?
  • 1z0-071 Exam Question 312

    Examine the create table statements for the stores and sales tables.
    SQL> CREATE TABLE stores(store_id NUMBER(4) CONSTRAINT store_id_pk PRIMARY KEY, store_name VARCHAR2(12), store_address VARCHAR2(20), start_date DATE); SQL> CREATE TABLE sales(sales_id NUMBER(4) CONSTRAINT sales_id_pk PRIMARY KEY, item_id NUMBER(4), quantity NUMBER(10), sales_date DATE, store_id NUMBER(4), CONSTRAINT store_id_fk FOREIGN KEY(store_id) REFERENCES stores(store_id)); You executed the following statement:
    SQL> DELETE from stores
    WHERE store_id=900;
    The statement fails due to the integrity constraint error:
    ORA-02292: integrity constraint (HR.STORE_ID_FK) violated
    Which three options ensure that the statement will execute successfully? (Choose three.)
  • 1z0-071 Exam Question 313

    View the Exhibit and examine the details of PRODUCT_INFORMATION table.

    You have the requirement to display PRODUCT_NAME from the table where the CATEGORY_ID column has values 12 or 13, and the SUPPLIER_ID column has the value 102088. You executed the following SQL statement:
    SELECT product_name
    FROM product_information
    WHERE (category_id = 12 AND category_id = 13) AND supplier_id = 102088; Which statement is true regarding the execution of the query?
  • 1z0-071 Exam Question 314

    The SYSDATE function displays the current Oracle Server date as:
    21 -MAY-19
    You wish to display the date as:
    MONDAY, 21 MAY, 201 9
    Which statement will do this?
  • 1z0-071 Exam Question 315

    Examine the structure of the PROGRAMS table:

    Which two SQL statements would execute successfully?