Deck 10: Oracle-Supplied Packages, Dynamic SQL, and Hiding Source Code
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/85
Play
Full screen (f)
Deck 10: Oracle-Supplied Packages, Dynamic SQL, and Hiding Source Code
1
The goal of SQL is to empower users with little or no query skills to be able to perform a variety of data queries.
False
2
The DBMS_DDL package provides the only Oracle method available to hide source code.
False
3
If a table contains any LOB columns, client tools such as SQL Developer cannot display the images, however, the GETLENGTH function can be used to confirm a file was loaded into the LOB column.
True
4
The array-like processing available in DBMS_SQL makes working with many rows much more cumbersome.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
5
The BLOB, CLOB, and NCLOB objects can all be stored internally and are typically stored in a separate tablespace from database tables to enable optimization of the attributes of each tablespace for the type of data being stored.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
6
An EXECUTE step is not needed with DDL statements because the PARSE step automatically executes the statement upon successful parsing.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
7
The ability to send e-mails from within PL/SQL code has been simplified with the introduction of the DBMS_ALERT package.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
8
One advantage of LOBs is that a table can have multiple LOB columns but only one LONG column.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
9
Dynamic SQL allows us to employ a more object-oriented approach to modeling our database and applications.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
10
The util.ora file contains environment settings, such as the UTL_FILE_DIR parameter, that determine if and how certain Oracle features are accessible from within PL/SQL code.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
11
DBMS_SQL is simpler to code and processes more efficiently than native dynamic SQL.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
12
You must enable DBMS output in order to see the display from DBMS_OUTPUT commands.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
13
Obfuscating or wrapping code refers to hiding source code.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
14
The UTL_FILE package contains a PUT_LINE data type that is used to declare a file variable.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
15
The REQUEST_PIECES function is typically used to avoid possibly truncating information contained on the Web page.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
16
Support for DBMS_SQL statements is built into the PL/SQL interpreter.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
17
The init.ora file contains all the settings for the database and is read when the database is started up.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
18
Dynamic SQL allows the criteria of a query such as the column checked in the WHERE clause to be identified at compile time.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
19
Attempting to use a parameter to provide an identifier, such as a column name or table name, in an SQL statement within PL/SQL raises an error.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
20
The basic mechanics of the alert process include registering an alert name, setting up when an alert should signal, and enabling the appropriate users to receive the alert.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
21
A(n) mutator is similar to a partition or area of the physical disk. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
22
The code fragment ____ would raise an error.
A) DBMS_ALERT.REGISTER( 'new_bid' );
B) DBMS_ALERT.WAITONE( 'new_bid', v_msg, v_status, 600);
C) DBMS_ALERT( 'new_bid', v_msg, v_status, 600);
D) DBMS_ALERT.SIGNAL( 'new_bid', TO_CHAR(:new.bid));
A) DBMS_ALERT.REGISTER( 'new_bid' );
B) DBMS_ALERT.WAITONE( 'new_bid', v_msg, v_status, 600);
C) DBMS_ALERT( 'new_bid', v_msg, v_status, 600);
D) DBMS_ALERT.SIGNAL( 'new_bid', TO_CHAR(:new.bid));
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
23
The OPEN FOR method cannot reuse parsed statements. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
24
In the UTL_FILE package, the ____ program unit is used to read a line from a file.
A) FOPEN
B) PUT_LINE
C) GET_LINE
D) FCLOSE
A) FOPEN
B) PUT_LINE
C) GET_LINE
D) FCLOSE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
25
The UTL_HTTP package provides the capability to make Hypertext Transfer Protocol (HTTP) calls from within PL/SQL programs. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
26
When the SQL statement is built in the PL/SQL block, placeholders with colon prefixes are used to mark where values are supplied at runtime. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
27
The DBMS_ALERT package allows two or more sessions, in the same instance, to communicate. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
28
When executing a stored program, any DBMS_OUTPUT lines are placed in an output buffer, which dumps its contents to the screen when the program has completed execution. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
29
All of the following procedures are included in the DBMS_ALERT package, except ____.
A) REGISTER
B) SIGNAL
C) WAIT
D) WAITONE
A) REGISTER
B) SIGNAL
C) WAIT
D) WAITONE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
30
In the UTL_HTTP package, the ____ function is used to retrieve the HTML source from a specified URL.
A) REQUEST_PIECES
B) NOOP
C) RCPT
D) RSET
A) REQUEST_PIECES
B) NOOP
C) RCPT
D) RSET
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
31
A large object (LOB) can hold ____.
A) 1 GB
B) 2 GB
C) 3 GB
D) 4 GB
A) 1 GB
B) 2 GB
C) 3 GB
D) 4 GB
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
32
BEGIN
DBMS_OUTPUT.PUT('This');
DBMS_OUTPUT.PUT(' is a');
DBMS_OUTPUT.PUT(' test');
DBMS_OUTPUT.PUT_LINE('This is test2');
DBMS_OUTPUT.PUT('Working?');
END;
The code fragment above is an example of a(n) ____.
A) cursor
B) alert
C) anonymous block
D) trigger
DBMS_OUTPUT.PUT('This');
DBMS_OUTPUT.PUT(' is a');
DBMS_OUTPUT.PUT(' test');
DBMS_OUTPUT.PUT_LINE('This is test2');
DBMS_OUTPUT.PUT('Working?');
END;
The code fragment above is an example of a(n) ____.
A) cursor
B) alert
C) anonymous block
D) trigger
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
33
Alerts are transaction based and are sent only if the transaction is committed. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
34
In the DBMS_LOB package, which of the following represents the programs that add, change, or remove the large objects (LOBs)?
A) BFILE
B) mutator
C) observer
D) tablespace
A) BFILE
B) mutator
C) observer
D) tablespace
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
35
The programs within the ____ package can be grouped into two sets: mutators and observers.
A) BLOB
B) DBMS_LOB
C) CLOB
D) BFILE
A) BLOB
B) DBMS_LOB
C) CLOB
D) BFILE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
36
The DBMS_OUTPUT procedure ____ places an end-of-line marker in the buffer.
A) ENABLE
B) PUT_LINE
C) NEW_LINE
D) GET_LINE
A) ENABLE
B) PUT_LINE
C) NEW_LINE
D) GET_LINE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
37
The UTL_LINE package allows access to files that reside on an operating system and are accessible from the database server. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
38
All of the following programs are available in the UTL_FILE package, except ____.
A) FOPEN
B) RSET
C) PUT_LINE
D) GET_LINE
A) FOPEN
B) RSET
C) PUT_LINE
D) GET_LINE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
39
Native dynamic SQL is simpler to code and processes statements more efficiently than the DBMS_SQL package. _________________________
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
40
The ____ package can be used to analyze the HTML source of Web sites in order to accomplish tasks such as tracking competitor pricing on products, gathering pricing for raw materials, and collecting relevant business news for a particular industry.
A) UTL_HTTP
B) UTL-SMTP
C) DBMS_ALERT
D) DBMS_PIPE
A) UTL_HTTP
B) UTL-SMTP
C) DBMS_ALERT
D) DBMS_PIPE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
41
The ____ package allows parameters to be directly used as identifiers, such as column names and table names.
A) DBMS_SQL
B) DBMS_ALERT
C) UTL_SMTP
D) DBMS_PIPE
A) DBMS_SQL
B) DBMS_ALERT
C) UTL_SMTP
D) DBMS_PIPE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
42
____ and PL/SQL allow the construction and parsing of statements at runtime rather than compile time.
A) Dynamic SQL
B) Native SQL
C) DBMS_SQL
D) AD_HOC SQL
A) Dynamic SQL
B) Native SQL
C) DBMS_SQL
D) AD_HOC SQL
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
43
The process flow of the DBMS_SQL procedures involves the establishment of a(n) ____ to contain and manipulate the SQL statement.
A) BIND_VARIABLE
B) object type
C) cursor
D) DML statement
A) BIND_VARIABLE
B) object type
C) cursor
D) DML statement
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
44
____ are used to distinguish parameter values that are used as criteria in the DBMS_SQL package, versus parameters that provide identifiers such as column names.
A) DDLs
B) Placeholders
C) DMLs
D) Cursors
A) DDLs
B) Placeholders
C) DMLs
D) Cursors
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
45
The ____ parameter of the ANALYZE_OBJECT procedure dictates that the value provided must be either TABLE, INDEX, or CLUSTER.
A) TYPE
B) SCHEMA
C) NAME
D) PARTNAME
A) TYPE
B) SCHEMA
C) NAME
D) PARTNAME
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
46
The ____ built-in package contains a miscellaneous group of programs ranging from capabilities to assist in procedure management to reporting error information.
A) DBMS_SESSION
B) DBMS_UTILITY
C) DBMS_XMLGEN
D) UTL_INADDR
A) DBMS_SESSION
B) DBMS_UTILITY
C) DBMS_XMLGEN
D) UTL_INADDR
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
47
In the DBMS_LOB package, the term ____ represents programs that read LOBs or information about the LOBs.
A) Mutator
B) Tablespace
C) BFILE
D) Observer
A) Mutator
B) Tablespace
C) BFILE
D) Observer
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
48
In the DBMS_DDL package, the ____ procedure creates statistics for database objects to be utilized to enhance performance.
A) ANALYZE_OBJECT
B) ALTER_COMPILE
C) ALTER_DDL
D) ANALYZE_DDL
A) ANALYZE_OBJECT
B) ALTER_COMPILE
C) ALTER_DDL
D) ANALYZE_DDL
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
49
The ____ built-in package retrieves Internet site host names or IP addresses.
A) DBMS_JAVA
B) UTL_HTTP
C) UTL_INADDR
D) DBMS_UTILITY
A) DBMS_JAVA
B) UTL_HTTP
C) UTL_INADDR
D) DBMS_UTILITY
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
50
To successfully compile a program, you must either own the object or you must be granted the ____ privilege to compile an object in another schema.
A) ANALYZE_OBJECT
B) ALTER
C) MODIFY PROCEDURE
D) ALTER ANY PROCEDURE
A) ANALYZE_OBJECT
B) ALTER
C) MODIFY PROCEDURE
D) ALTER ANY PROCEDURE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
51
____ allows us to make the SQL statements in our PL/SQL code much more flexible in regards to providing values, such as column names, at runtime.
A) SQL
B) Object technology
C) OBJECT id
D) Dynamic SQL
A) SQL
B) Object technology
C) OBJECT id
D) Dynamic SQL
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
52
The ____ package allows access to two DDL statements that cannot be used directly within a PL/SQL block: ALTER_COMPILE and ANALYZE_OBJECT.
A) DBMS_PIPE
B) DBMS_SQL
C) DBMS_DDL
D) DBMS_JOB
A) DBMS_PIPE
B) DBMS_SQL
C) DBMS_DDL
D) DBMS_JOB
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
53
DBMS_DDL.ALTER_COMPILE (
Type VARCHAR2,
Schema VARCHAR2,
Name VARCHAR2);
In the header for the ALTER_COMPILE procedure above, the ____ statement refers to the object's owner.
A) type
B) schema
C) name
D) ALTER
Type VARCHAR2,
Schema VARCHAR2,
Name VARCHAR2);
In the header for the ALTER_COMPILE procedure above, the ____ statement refers to the object's owner.
A) type
B) schema
C) name
D) ALTER
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
54
The ____ built-in package retrieves information about database objects.
A) DBMS_JAVA
B) DBMS_METADATA
C) DBMS_RANDOM
D) DBMS_SESSION
A) DBMS_JAVA
B) DBMS_METADATA
C) DBMS_RANDOM
D) DBMS_SESSION
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
55
____ will cause an error if used directly within PL/SQL.
A) Query statements
B) DDL statements
C) DML statements
D) SELECT statements
A) Query statements
B) DDL statements
C) DML statements
D) SELECT statements
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
56
In the DBMS_DDL package, ____ is a valid ANALYZE_OBJECT exception.
A) ORA-20000
B) ORA-20002
C) ORA-20003
D) ORA-20004
A) ORA-20000
B) ORA-20002
C) ORA-20003
D) ORA-20004
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
57
The ____ built-in package is used to access Web pages.
A) UTL_INADDR
B) UTL_HTTP
C) DBMS_SESSION
D) DBMS_METADATA
A) UTL_INADDR
B) UTL_HTTP
C) DBMS_SESSION
D) DBMS_METADATA
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
58
The ____ package provides access to DDL statements that cannot be included directly within PL/SQL code.
A) LOB
B) DBMS_DDL
C) DBMS_SQL
D) DBMS_JOB
A) LOB
B) DBMS_DDL
C) DBMS_SQL
D) DBMS_JOB
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
59
____ establishes a work area for a statement to be handled.
A) OPEN_CURSOR
B) PARSE
C) CLOSE_CURSOR
D) CLOSE_PARSER
A) OPEN_CURSOR
B) PARSE
C) CLOSE_CURSOR
D) CLOSE_PARSER
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
60
The ____ procedure of the DBMS_DDL package allows developers to programmatically compile database objects.
A) ALTER_RECOMPILE
B) ANALYZE_OBJECT
C) ALTER_COMPILE
D) DDL_ALTER
A) ALTER_RECOMPILE
B) ANALYZE_OBJECT
C) ALTER_COMPILE
D) DDL_ALTER
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
61
____ frees the resources allocated to the cursor.
A) EXIT_CURSOR
B) FETCH_ROWS
C) EXECUTE
D) CLOSE_CURSOR
A) EXIT_CURSOR
B) FETCH_ROWS
C) EXECUTE
D) CLOSE_CURSOR
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
62
Which of the following is a procedure in the DBMS_DDL package that will assist to hide source code?
A) WRAP.
B) CODE_WRAPPED.
C) CREATE_WRAPPED.
D) WRAP_CODE.
A) WRAP.
B) CODE_WRAPPED.
C) CREATE_WRAPPED.
D) WRAP_CODE.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
63
Which of the following is the correct syntax for an EXECUTE IMMEDIATE statement?
A) EXECUTE IMMEDIATE 'SQL statement'
[ INTO ( var1, var2, ... | record ]
[ USING [ IN | OUT | IN OUT ] bindvar1, bindvar2, ... ]
[ RETURNING | RETURN INTO outvar1, outvar2, ... ];
B) EXECUTE IMMEDIATE 'SQL statement'
[ INTO ( var1, var2, ... | record ]
[ RETURNING | RETURN INTO outvar1, outvar2, ... ]
C) EXECUTE IMMEDIATE 'SQL statement'
[ INTO ( var1, var2, ... | record ]
[ USING [ IN | OUT | IN OUT ] bindvar1, bindvar2, ... ]
D) EXECUTE IMMEDIATE 'SQL statement'
[ USING [ IN | OUT | IN OUT ] bindvar1, bindvar2, ... ]
[ RETURNING | RETURN INTO outvar1, outvar2, ... ];
A) EXECUTE IMMEDIATE 'SQL statement'
[ INTO ( var1, var2, ... | record ]
[ USING [ IN | OUT | IN OUT ] bindvar1, bindvar2, ... ]
[ RETURNING | RETURN INTO outvar1, outvar2, ... ];
B) EXECUTE IMMEDIATE 'SQL statement'
[ INTO ( var1, var2, ... | record ]
[ RETURNING | RETURN INTO outvar1, outvar2, ... ]
C) EXECUTE IMMEDIATE 'SQL statement'
[ INTO ( var1, var2, ... | record ]
[ USING [ IN | OUT | IN OUT ] bindvar1, bindvar2, ... ]
D) EXECUTE IMMEDIATE 'SQL statement'
[ USING [ IN | OUT | IN OUT ] bindvar1, bindvar2, ... ]
[ RETURNING | RETURN INTO outvar1, outvar2, ... ];
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
64
All of the following, except ____, represent steps required to perform DDL with the DBMS_SQL package.
A) OPEN_CURSOR
B) PARSE
C) BIND_VARIABLE
D) CLOSE_CURSOR
A) OPEN_CURSOR
B) PARSE
C) BIND_VARIABLE
D) CLOSE_CURSOR
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
65
The ____ program associates placeholders in the Cursor with PL/SQL variables.
A) PARSE
B) BIND_VARIABLE
C) CLOSE_CURSOR
D) EXECUTE
A) PARSE
B) BIND_VARIABLE
C) CLOSE_CURSOR
D) EXECUTE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
66
Two methods can be used to implement _________________________: EXECUTE IMMEDIATE and OPEN FOR.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
67
All of the following except ____ require parameters.
A) EXECUTE
B) BIND_VARIABLE
C) OPEN_CURSOR
D) PARSE
A) EXECUTE
B) BIND_VARIABLE
C) OPEN_CURSOR
D) PARSE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
68
In which of the following situations is the use of native dynamic SQL considered inappropriate?
A) The number and types of columns to be used is not known.
B) The number and type of bind variables is known.
C) You want to perform DDL.
D) You are executing the statement only once or twice.
A) The number and types of columns to be used is not known.
B) The number and type of bind variables is known.
C) You want to perform DDL.
D) You are executing the statement only once or twice.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
69
____ retrieves the data returned by a query.
A) BIND_VARIABLE
B) FETCH_ROWS
C) COLUMN_VALUE
D) DEFINE_COLUMN
A) BIND_VARIABLE
B) FETCH_ROWS
C) COLUMN_VALUE
D) DEFINE_COLUMN
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
70
Which of the following is a command line utility that assists in hiding source code?
A) wrap utility.
B) obfuscate utility.
C) DBMS_DDL utility.
D) wrapcode utility.
A) wrap utility.
B) obfuscate utility.
C) DBMS_DDL utility.
D) wrapcode utility.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
71
The _________________________ package was introduced with Oracle version 7 to allow more dynamic SQL code within PL/SQL coding.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
72
Attempting to use a(n) _________________________ to provide an identifier, such as a column name or table name, in an SQL statement within PL/SQL raises an error.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
73
The _________________________ package is used to display messages to the screen from a stored program unit or an anonymous block.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
74
The _________________________ package provides the capabilities of a job scheduler that sets up programs to run at specified times.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
75
A(n) _________________________ is a pointer to a cursor or SQL work area.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
76
____ is responsible for checking syntax.
A) PARSE
B) OPEN_CURSOR
C) CLOSE_CURSOR
D) OPEN_PARSER
A) PARSE
B) OPEN_CURSOR
C) CLOSE_CURSOR
D) OPEN_PARSER
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
77
The _________________________ action of the DBMS_DDL package computes statistics on a database object, typically tables and indexes, such as the range of values.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
78
The ____ method can be used to implement native dynamic SQL.
A) EXECUTE
B) EXECUTE FOR
C) OPEN FOR
D) OPEN IMMEDIATE
A) EXECUTE
B) EXECUTE FOR
C) OPEN FOR
D) OPEN IMMEDIATE
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
79
The _________________________ method of the ANALYZE_OBJECT procedure in the DBMS_DDL package erases the statistics that already exist in the data dictionary for an object.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck
80
The use of a(n) _________________________ statement, such as ALTER TABLE or CREATE TABLE, directly within PL/SQL produces an error.
Unlock Deck
Unlock for access to all 85 flashcards in this deck.
Unlock Deck
k this deck