Exam 2: Creating and Modifying Database Tables

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

To check that the value entered into a CHAR column is either 'M' or 'F',you would use a check condition constraint.

Free
(True/False)
5.0/5
(37)
Correct Answer:
Verified

True

Which of the following is not part of a DDL command?

Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
Verified

D

When selecting the table_name column from the all_tables view which tables are displayed?

Free
(Multiple Choice)
4.7/5
(28)
Correct Answer:
Verified

C

Which command is used to disable the constraint named faculty_loc_id_fk in the faculty table?

(Multiple Choice)
4.9/5
(30)

The Oracle Naming Standard states that objects must be from 1 to ____ characters long.

(Multiple Choice)
4.9/5
(38)

The ____________________ specifies the number of digits on the right side of the decimal point.

(Short Answer)
4.9/5
(28)

When you exit from a SQL*Plus session,the connection with the database is automatically closed.

(True/False)
4.8/5
(34)

If a column has a YEAR TO MONTH INTERVAL data type,then the value +02-11 specifies a positive time interval of 2 years and 11 months.

(True/False)
4.9/5
(25)

A(n)____________________ enables you to specify that a column value must be a specific value or fall within a range of values.

(Short Answer)
4.8/5
(32)

A(n)____________________ specifies the kind of data that the column stores.

(Short Answer)
4.8/5
(28)

When declaring a NUMBER data type,scale is the total number of digits both to the left and to the right of the decimal point.

(True/False)
4.9/5
(29)

To delete a table from the database,use the ____________________ command.

(Short Answer)
4.9/5
(39)

If you need to store a jpeg image in the database,which column declaration would you use?

(Multiple Choice)
4.8/5
(35)

Explain the Oracle naming standard.Provide example of legal and illegal names.

(Essay)
4.8/5
(47)

____________________ are restrictions on the data values that a column can store.

(Short Answer)
4.8/5
(33)

A primary key is defined using an integrity constraint.

(True/False)
4.8/5
(36)

One way to exit SQL*Plus is to type ____________________ at the SQL prompt.

(Short Answer)
4.7/5
(26)

You can change a column data type from VARCHAR2 to NUMBER.

(True/False)
4.9/5
(37)

Which of the following is not required to log in to an Oracle database using SQL*Plus?

(Multiple Choice)
4.8/5
(38)

The following declaration represents an integer: my_int number(4,2).

(True/False)
4.9/5
(32)
Showing 1 - 20 of 100
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)