The SQL ALTER statement can be used to:
The SQL ALTER statement can be used to:
SQL statements can be embedded in triggers, stored procedures, and program code.
SQL statements can be embedded in triggers, stored procedures, and program code.
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.
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 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.
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.
SQL Server does not support the BEFORE trigger.
SQL Server does not support the BEFORE trigger.
What is an advantage of placing computations in SQL views?
What is an advantage of placing computations in SQL views?
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.
Views can be used to show the results of computed columns.
Views can be used to show the results of computed columns.
The SQL statement used to create a view is CREATE VIEW.
The SQL statement used to create a view is CREATE VIEW.
Which of the following is an SQL trigger supported by Oracle?
Which of the following is an SQL trigger supported by Oracle?
What SQL structure is used to limit column values of a table?
What SQL structure is used to limit column values of a table?
What is an SQL virtual table that is constructed from other tables?
What is an SQL virtual table that is constructed from other tables?
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.
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.
SQL views can be used to hide:
SQL views can be used to hide:
There are three SQL data modification operations: insert, modify and delete.
There are three SQL data modification operations: insert, modify and delete.
The DROP TABLE statement:
The DROP TABLE statement:
A reason for using an SQL view to hide columns is:
A reason for using an SQL view to hide columns is:
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.
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:
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.
Three types of triggers are: BEFORE, AFTER and EXCEPTION.
Three types of triggers are: BEFORE, AFTER and EXCEPTION.
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.
A trigger is a stored program that is attached to a database.
A trigger is a stored program that is attached to a database.
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:
The SQL command to create a table is:
The SQL command to create a table is:
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.
The SQL statement to create a view is:
The SQL statement to create a view is:
When using the SQL INSERT statement:
When using the SQL INSERT statement:
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.
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.
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.
A view that contains a computed column can be easily updated.
A view that contains a computed column can be easily updated.
What is not an advantage of stored procedures?
What is not an advantage of stored procedures?
Which of the following is NOT a type of SQL constraint?
Which of the following is NOT a type of SQL constraint?