A ________ is a stored program that is attached to a table or a view.
A ________ is a stored program that is attached to a table or a view.
The SQL statement to create a view is:
The SQL statement to create a view is:
What is not an advantage of stored procedures?
What is not an advantage of stored procedures?
What is an advantage of placing computations in SQL views?
What is an advantage of placing computations in SQL views?
The SQL MAKE TABLE command is used to construct tables, define columns, define column constraints and create relationships.
The SQL MAKE TABLE command is used to construct tables, define columns, define column constraints and create relationships.
A stored procedure is a program that performs some common action on database data and is stored in the database.
A stored procedure is a program that performs some common action on database data and is stored in the database.
The SQL DELETE statement is used to delete both the table structure and table data.
The SQL DELETE statement is used to delete both the table structure and table data.
If any required (NOT NULL) columns are missing from the view, the view cannot be used for inserting new data.
If any required (NOT NULL) columns are missing from the view, the view cannot be used for inserting new data.
Standard SQL-92 views are constructed from SQL SELECT statements that do not contain the GROUP BY clause.
Standard SQL-92 views are constructed from SQL SELECT statements that do not contain the GROUP BY clause.
There are three SQL data modification operations: insert, modify and delete.
There are three SQL data modification operations: insert, modify and delete.
Which is NOT one of the most common types of SQL CHECK constraints?
Which is NOT one of the most common types of SQL CHECK constraints?
A updatable view has its own data.
A updatable view has its own data.
The DROP TABLE statement:
The DROP TABLE statement:
What is an SQL virtual table that is constructed from other tables?
What is an SQL virtual table that is constructed from other tables?
The SQL CHECK constraint is fully defined by the SQL-92 standard, and is consistently implemented by all DBMS vendors.
The SQL CHECK constraint is fully defined by the SQL-92 standard, and is consistently implemented by all DBMS vendors.
Which of the following is an SQL trigger supported by Oracle?
Which of the following is an SQL trigger supported by Oracle?
SQL statements can be embedded in triggers, stored procedures, and program code.
SQL statements can be embedded in triggers, stored procedures, and program code.
SQL Server does not support the BEFORE trigger.
SQL Server does not support the BEFORE trigger.
A reason for using an SQL view to hide columns is:
A reason for using an SQL view to hide columns is:
The SQL statement used to create a view is CREATE VIEW.
The SQL statement used to create a view is CREATE VIEW.
Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:
Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:
When a foreign key column is created without a corresponding foreign key constraint, we have created a "casual relationship" between the two tables.
When a foreign key column is created without a corresponding foreign key constraint, we have created a "casual relationship" between the two tables.
The SQL ALTER statement can be used to:
The SQL ALTER statement can be used to:
A view that contains a computed column can be easily updated.
A view that contains a computed column can be easily updated.
When using the SQL INSERT statement:
When using the SQL INSERT statement:
Common types of SQL CHECK constraints include range checks and limiting columns values.
Common types of SQL CHECK constraints include range checks and limiting columns values.
Views can be used to show the results of computed columns.
Views can be used to show the results of computed columns.
For what purposes are views used?
For what purposes are views used?
To update an SQL view, the DBMS must be able to associate the column(s) to be updated with:
To update an SQL view, the DBMS must be able to associate the column(s) to be updated with:
Three types of triggers are: BEFORE, AFTER and EXCEPTION.
Three types of triggers are: BEFORE, AFTER and EXCEPTION.
A benefit of using a stored procedure is that it can be distributed to client computers.
A benefit of using a stored procedure is that it can be distributed to client computers.
SQL views can be used to hide:
SQL views can be used to hide:
What SQL structure is used to limit column values of a table?
What SQL structure is used to limit column values of a table?
Which of the following is NOT a type of SQL constraint?
Which of the following is NOT a type of SQL constraint?
A ________ is a program that performs some common action on database data and that is stored in the database.
A ________ is a program that performs some common action on database data and that is stored in the database.
SQL has a JOIN ON syntax that can be used to create inner joins and outer joins.
SQL has a JOIN ON syntax that can be used to create inner joins and outer joins.
A trigger is a stored program that is attached to a database.
A trigger is a stored program that is attached to a database.
The SQL command to create a table is:
The SQL command to create a table is:
A SQL view is a virtual table that is constructed from other tables or views.
A SQL view is a virtual table that is constructed from other tables or views.