Install_and_Admin_01 Flashcards

1
Q

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.

A

Cannot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The column QUANTITY is defined as NUMBER (*, 2). When you try to store 4569.22, what value will actually be stored?

A

4569.22

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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?

A

&1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.

A

True. (SET COLINVISIBLE ON is required to display the invisible columns in DESCRIBE.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which operator is the most appropriate to use in a single-row subquery?

A

The = operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: You can replace the table name in the SELECT, INSERT, UPDATE, MERGE and DELETE statements with a subquery.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Among the special characters *, #, $, and &, which ones can you use to begin a table name?

A

None. A table name must begin with an alphabetic character.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the syntax for easy connect?

A

[//]Host[:Port]/ name>]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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.

A

False. An index is created only for primary and unique keys if such an index already does not exist.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False: When adding new columns to a table with rows, you cannot define a NOT NULL constraint.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the maximum number of columns that a table can have?

A

1,000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The architecture makes Oracle Database 12c a true cloud database.

A

Multitenant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: To be able to store more than 4,000 bytes in VARCHAR2, the DBA needs to set a parameter in database.

A

True. The MAX STRING SIZE parameter must be EXTENDED.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which datatype stores the actual data outside of the Oracle database?

A

BFILE datatype

How well did you know this?
1
Not at all
2
3
4
5
Perfectly