module 8 part #1 Flashcards
1
Q
a piece of SQL code that is invoked when an event occurs. such as an insert, update, or delete statement
A
trigger
2
Q
What type of integrity is enforced when a primary key is declared?
A
entity integrity
3
Q
What is a stored procedure, and why is it particularly useful? Give an example.
A
A stored procedure is kind of like a function in code. It can be saved and used over and over again.
4
Q
adds data to the table
A
INSERT
5
Q
applies to data that is ALREADY in the table.
A
UPDATE
6
Q
can be used to make changes to an existing table, such as adding, dropping, or modifying a column
A
ALTER command
7
Q
used to validate data when an attribute value is entered.
A
CHECK constraint