Install_and_Admin_01 Flashcards
The FOR UPDATE clause of the SELECT statement lets you lock the rows selected, so that no other user can update the rows. This clause [can/cannot] be used with queries using the DISTINCT operator.
Cannot
The column QUANTITY is defined as NUMBER (*, 2). When you try to store 4569.22, what value will actually be stored?
4569.22
How do you define a variable inside a script file if you need to pass the value along with the filename when you execute the script?
&1
True or False: When you describe a table using the DESCRIBE command in SQL*Plus, the base table names, column names, and NOT NULL columns are displayed, but invisible columns are not displayed.
True. (SET COLINVISIBLE ON is required to display the invisible columns in DESCRIBE.)
Which operator is the most appropriate to use in a single-row subquery?
The = operator
True or False: You can replace the table name in the SELECT, INSERT, UPDATE, MERGE and DELETE statements with a subquery.
True
Among the special characters *, #, $, and &, which ones can you use to begin a table name?
None. A table name must begin with an alphabetic character.
What is the syntax for easy connect?
[//]Host[:Port]/ name>]
True or False: When a foreign key constraint is created on Table B, referencing Table A, an index on Table B is automatically created by Oracle, with the columns in the foreign key definition.
False. An index is created only for primary and unique keys if such an index already does not exist.
True or False: When adding new columns to a table with rows, you cannot define a NOT NULL constraint.
False
What is the maximum number of columns that a table can have?
1,000
The architecture makes Oracle Database 12c a true cloud database.
Multitenant
True or False: The ALTER TABLE EMP RENAME SAL TO SALARY statement is used to rename the column SAL in the EMP table to SALARY.
True
True or False: To be able to store more than 4,000 bytes in VARCHAR2, the DBA needs to set a parameter in database.
True. The MAX STRING SIZE parameter must be EXTENDED.
Which datatype stores the actual data outside of the Oracle database?
BFILE datatype