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