Chapter 8: Advanced SQL
74. 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.
75. The pseudo-column is used to select the next value from a sequence.
a. CURRVAL b. NEXTVAL
c. NEXT d. GET_NEXT
76. A(n) is a block of code containing standard SQL statements and procedural extensions that is stored
and executed at the DBMS server.
a. PSM b. PLS
c. SQL Statement d. PMR
77. In Oracle, make(s) it possible to merge SQL and traditional programming constructs, such as variables,
conditional processing (IF-THEN-ELSE), basic loops (FOR and WHILE loops,) and error trapping.
a. cursor-style processing b. stored procedures
c. embedded SQL d. Procedural Language SQL
78. The PL/SQL block starts with the section.
a. IS b. OPEN
c. DECLARE d. BEGIN
79. Oracle recommends for creating audit logs.
a. triggers b. stored procedures
c. stored functions d. tables
80. is a cursor attribute that returns TRUE if the last FETCH returned a row, and FALSE if not.
a. %ROWCOUNT b. %NOTFOUND
c. %FOUND d. %ISOPEN
81. An alternate syntax for a join is: SELECT column-list FROM table1 JOIN table2 (common-column).