Exam 7: Sql for Database Construction and Application Processing

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

The SQL CREATE TABLE statement is used to name a new table and describe the table's columns.

Free
(True/False)
4.9/5
(32)
Correct Answer:
Verified

True

The SQL keyword CONSTRAINT is used to limit column values to specific values.

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

True

Because SQL statements are table-oriented,whereas programs are variable-oriented,the results of SQL statements used in programs are accessed using an SQL cursor.

Free
(True/False)
4.9/5
(31)
Correct Answer:
Verified

True

To set a column value to an initial value that is selected according to some business logic,you would use the SQL DEFAULT constraint with the CREATE TABLE command.

(True/False)
4.8/5
(28)

SQL triggers are used for providing default values,validity checking,updating views,and performing referential integrity actions.

(True/False)
4.9/5
(39)

SQL views are always updatable when ________.

(Multiple Choice)
4.7/5
(36)

If a trigger is being written to enforce referential integrity actions,you cannot use an INSTEAD OF trigger.

(True/False)
4.9/5
(42)

The SQL keyword CONSTRAINT is used to define one of five types of constraints.

(True/False)
4.9/5
(37)

The following database will be used in this question: GENERAL SALES DATABASE: SALESREP The following database will be used in this question: GENERAL SALES DATABASE: SALESREP     CUSTOMER     Explain the use of the SQL statement CREATE TABLE.Do NOT discuss the ALTER statement in your answer,but DO include an example based on the SALESREP table in the General Sales database. CUSTOMER The following database will be used in this question: GENERAL SALES DATABASE: SALESREP     CUSTOMER     Explain the use of the SQL statement CREATE TABLE.Do NOT discuss the ALTER statement in your answer,but DO include an example based on the SALESREP table in the General Sales database. Explain the use of the SQL statement CREATE TABLE.Do NOT discuss the ALTER statement in your answer,but DO include an example based on the SALESREP table in the General Sales database.

(Essay)
4.8/5
(36)

The SQL keyword CHECK is used to limit column values to specific values.

(True/False)
4.8/5
(31)

Because SQL statements are table-oriented,whereas programs are variable-oriented,the results of SQL statements used in programs are treated as pseudofiles.

(True/False)
4.7/5
(32)

Discuss SQL data types.

(Essay)
4.8/5
(34)

A set of SQL statements stored in an application written in a standard programming language is called embedded SQL.

(True/False)
4.8/5
(40)

SQL views are updatable when the view is based on a single table with no computed columns,and all non-null columns are present in the view.

(True/False)
4.7/5
(35)

Explain how relationships are created using SQL.

(Essay)
4.9/5
(44)

Distinguish between Char and VarChar data types.

(Essay)
4.9/5
(26)

The SQL command CREATE USER VIEW is used to create a virtual table.

(True/False)
4.8/5
(40)

SQL views are constructed from ________.

(Multiple Choice)
4.8/5
(34)

A stored program that is stored within the database and compiled when used is called a trigger.

(True/False)
4.9/5
(28)

SQL triggers are used for ________.

(Multiple Choice)
4.8/5
(35)
Showing 1 - 20 of 100
close modal

Filters

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