A Guide to SQL, Ninth Edition Page 3–9
Class Discussion Topics
1. You can use either the CHAR data type or the VARCHAR data type to store character
data. What are the differences between the two? Are there any disadvantages to using
VARCHAR?
2. Ask students why the data type for POSTAL_CODE in the REP and CUSTOMER
tables is CHAR and not SMALLINT or INTEGER? Is the length of the field large
enough?
Additional Projects
1. Place students in teams and assign each team the task of developing the CREATE
2. Have students research the Web to discover how other DBMSs handle dates. Examples
3. Have students create a script in Notepad or WordPad and upload the script to Oracle.
Additional Resources
1. Concepts of Database Management, Eighth Edition by Philip Pratt and Mary Last
3. International Organization for Standardization (ISO): www.iso.org/iso/home.htm
5. PostgreSQL: www.postgresql.org/
7. Oracle: www.oracle.com
Key Terms
➢ breadcrumb: Reference that appears at the top of the SQL editor pane to indicate the
pages in Oracle Database Express
➢ CREATE TABLE: The SQL command used to describe the layout of the table
➢ data type: Type of data that a column can contain as well as the maximum number of
characters or digits that the column can store