Practice exercise
- Internal LOBs can be used as attributes of a user-defined data type.
- True
- False
- Internal LOBs cannot be passed as parameters to PL/SQL subprograms.
- True
- False
- Internal LOBs can be stored in a tablespace that is different from the tablespace that stores the table containing the LOB column.
- True
- False
- You issue the following command to create a table called
LOB_STORE
:CREATE TABLE lob_store (lob_id NUMBER(3), photo BLOB DEFAULT EMPTY_CLOB(), cv CLOB DEFAULT NULL, ext_file BFILE DEFAULT NULL) /
Identify the issue in the above script.
- The table is created successfully.
- It generates an error because a BLOB column cannot be initialized with
EMPTY_CLOB()
. - It generates an error because
DEFAULT
cannot be set toNULL
for a CLOB column during table creation. ...
Get Oracle Advanced PL/SQL Developer Professional Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.