Database MCQS - QUESTION DETAILS

In SQL Server, what is the purpose of the TRIGGER?
A. Generate a sequence of numbers
B. Execute a set of statements in response to an event
C. Establish a link between two tables
D. Enforce a unique constraint

A TRIGGER in SQL Server is used to execute a set of statements in response to an event.

Similar Questions

Which SQL Server statement is used to remove a user's privileges?






Which statement is used to delete records from a table in SQL Server?






What is the maximum length of the VARCHAR data type in MySQL?






What does the SQL NOT NULL constraint do?






What is the purpose of the SQL Server CHARINDEX() function?






In Oracle, what is the purpose of the JOIN clause?






In Oracle, what is the purpose of the ROLLBACK statement?






In MySQL, what is the purpose of the CASCADE keyword in a FOREIGN KEY constraint?






What is the purpose of the Oracle DUAL table?






What is the purpose of the SQL Server XML INDEX option?