What are the instances when triggers are appropriate?

What are the instances when triggers are appropriate?

Scenarios for using triggers:
- To create a audit log of database activity.
- To apply business rules.
- To apply some calculation on data from tables which is not stored in them.
- To enforce referential integrity.
- Alter data in a third party application
- To execute SQL statements as a result of an event/condition automatically.
What are the restrictions applicable while creating views?
Views can be created referencing tables and views only in the current database. ......
What are the events recorded in a transaction log?
The start and end of each transaction - Every data modification .......
Describe when checkpoints are created in a transaction log.
SQL server transaction log - It is created when CHECKPOINT statement is executed........
Post your comment