Filters
Question type

Study Flashcards

The operator could be used in place of INTERSECT if the DBMS does not support it.


A) IN
B) OF
C) AND
D) UNION

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

The Oracle function returns the current date.


A) DATE
B) SYSDATE
C) CURRENT_DATE
D) TO_DATE

E) B) and C)
F) C) and D)

Correct Answer

verifed

verified

A(n) routine pools multiple transactions into a single batch to update a master table field in a single operation.

Correct Answer

verifed

verified

Each statement inside the PL/SQL code must end with a period (".").

A) True
B) False

Correct Answer

verifed

verified

An alternate syntax for a join is: SELECT column-list FROM table1 JOIN table2 (common-column).

Correct Answer

verifed

verified

The following SQL statement uses a(n) . SELECT P_CODE, P_DESCRIPT, P_PRICE, V_NAME FROM PRODUCT, VENDOR WHERE PRODUCT.V_CODE = VENDOR.V_CODE;


A) set operator
B) natural join
C) "old-style" join
D) procedural statement

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

Just like database triggers, stored procedures are stored in the database.

A) True
B) False

Correct Answer

verifed

verified

A is a query inside a query.


A) subquery
B) range query
C) join
D) set query

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

Which of the following is a feature of oracle sequences?


A) Oracle sequences are tied to columns and tables.
B) Oracle sequences generate a character string
that can be assigned to tables.
C) An oracle sequence uses the identity column
D) An oracle sequence can be created and deleted
property to automatically number rows. anytime.

E) C) and D)
F) A) and D)

Correct Answer

verifed

verified

SQL supports the conditional execution of procedures (IF-THEN-ELSE statements) that are typically supported by a programming language.

A) True
B) False

Correct Answer

verifed

verified

PL/SQL blocks have a section used to declare variables.

A) True
B) False

Correct Answer

verifed

verified

"Union-compatible" means that the .


A) names of the relation attributes can be different, but the data types must be alike
B) names of the relation attributes must be the same, but the data types can be different
C) names of the relation attributes must be the same and their data types must be alike
D) number of attributes must be the same, but the names and data types can be different

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

The function returns the current system date in MS Access.


A) TO_DATE()
B) SYSDATE()
C) DATE()
D) TODAY()

E) B) and C)
F) C) and D)

Correct Answer

verifed

verified

If a designer wishes to create an inner join, but the two tables do not have a commonly named attribute, he can use a(n) _____ clause.


A) OF
B) USING
C) HAS
D) JOIN ON

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

To remedy the lack of procedural functionality in SQL, and to provide some standardization within the many vendor offerings, the SQL-99 standard defined the use of persistent stored modules.

A) True
B) False

Correct Answer

verifed

verified

Assume you are using the MINUS operator to combine the results from two tables with identical structure, CUSTOMER and CUSTOMER_2. The CUSTOMER table contains 10 rows, while the CUSTOMER_2 table contains 7 rows. Customers Dunne and Olowski are included in the CUSTOMER table as well as in the CUSTOMER_2 table. How many records are returned when using the MINUS operator?


A) 0
B) 2
C) 8
D) 10

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

A trigger definition consists of the triggering timing, the triggering event, the triggering level, and the triggering action.

A) True
B) False

Correct Answer

verifed

verified

A stored function is another name for a stored procedure.

A) True
B) False

Correct Answer

verifed

verified

is a string function that returns the number of characters in a string value.


A) LENGTH
B) SUBSTRING
C) CONCAT
D) UCASE

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

In an Oracle sequence, the pseudo-column retrieves the current value of a sequence.

Correct Answer

verifed

verified

Showing 21 - 40 of 109

Related Exams

Show Answer