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