PLSQL 2 3 Practice
PLSQL 2 3 Practice
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Try It / Solve It
1. In your own words, describe what a data type is and explain why it is important.
A data type defines the type of data that can be stored in a variable, column, or object in a
database. It determines the kind of values that can be assigned to that particular variable or
column.
3. Identify three data types covered in the Database Programming with SQL course.
Varchar2,Number, BLOB
4. What data type can be used in PL/SQL, but can’t be used to define a table column?
The BOOLEAN data type can be used in PL/SQL but cannot be used to define a table
column.
5. Which data type indicates a large data object that is stored outside of the database?
The BFILE data type is used to store large data objects outside of the database.
6. Identify the data type category (LOB, Scalar, or Composite) for each data type.
Each category may be used more than once.
2
7. Enter the data type category and the data type for each value. The first one has been done
for you.
LOB BLOB
A movie
LOB BLOB
A sound byte
Scalar BOOLEAN
FALSE
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.