Free Oracle 1Z0-082 Exam Questions (page: 5)

You want to write a query that prompts for two column names and the WHERE condition each time it is executed in a session but only prompts for the table name the first time it is executed.
The variables used in your query are never undefined in your session. Which query can be used?

  1. SELECT &&col1, &&col2
    FROM &table
    WHERE &&condition = &&cond;
  2. SELECT &col1, &col2
    FROM &&table
    WHERE &condition;
  3. SELECT &col1, &col2
    FROM “&table”
    WHERE &condition;
  4. SELECT ‘&&col1’, ‘&&col2’
    FROM &table
    WHERE ‘&&condition’ = ‘&cond’;
  5. SELECT &&col1, &&col2
    FROM &table
    WHERE &&condition;

Answer(s): B



Examine the description of the CUSTOMERS table:


You want to display details of all customers who reside in cities starting with the letter D followed by at least two characters. Which query can be used?

  1. SELECT * FROM customers WHERE city LIKE ‘D_%’;
  2. SELECT * FROM customers WHERE city = ‘%D_’;
  3. SELECT * FROM customers WHERE city LIKE ‘D_’;
  4. SELECT * FROM customers WHERE city = ‘D_%’;

Answer(s): A



Examine this command:

Which two statements are true? (Choose two.)

  1. DML may be performed on tables with one or more extents in this data file during the execution of this command.
  2. The tablespace containing SALES1.DBF must be altered READ ONLY before executing the command.
  3. The tablespace containing SALES1.DBF must be altered OFFLINE before executing the command.
  4. If Oracle Managed Files (OMF) is used, then the file is renamed but moved to DB_CREATE_FILE_DEST.
  5. The file is renamed and stored in the same location

Answer(s): A,B



Which three statements are true about dropping and unused columns in an Oracle database? (Choose three.)

  1. A primary key column referenced by another column as a foreign key can be dropped if using the CASCADE option.
  2. An UNUSED column’s space is reclaimed automatically when the block containing that column is next queried.
  3. An UNUSED column’s space is reclaimed automatically when the row containing that column is next queried.
  4. Partition key columns cannot be dropped.
  5. A DROP COLUMN command can be rolled back
  6. A column that is set to UNUSED still counts towards the limit of 1000 columns per table

Answer(s): A,B,F



Viewing page 5 of 36



Post your Comments and Discuss Oracle 1Z0-082 exam prep with other Community members:

1Z0-082 Exam Discussions & Posts