What are triggers? Why do we use them? Diff types of triggers? What are magic tables?



What are triggers? Why do we use them? Diff types of triggers? What are magic tables?..

Answer / Avdesh Tripathi

{n "triggers": {n "definition": "Database objects that automatically execute a stored procedure in response to an event",n "purpose": "Triggers enable the automatic enforcement or implementation of business rules, security policies, auditing and logging, and data consistency checks",n "types": [n {"name": "Before trigger", "event": "occurs before an operation is executed"},n {"name": "After trigger", "event": "occurs after an operation is executed"},n {"name": "Instead of trigger", "event": "replaces the default action for a specified event"}n ],n "magic tables": "Special system tables that store information about triggers and other database objects in Sybase ASE"n }

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Sybase Interview Questions

How do I correct time slice -201?

1 Answers  


What is the equivalent of oracle/db2 coalesce function in sybase?

1 Answers  


How to take backup in sybase database in sap?

1 Answers  


How can you change to get the decimal separator as comma instead of the decimal point (.)?

1 Answers  


What is the use of 'with check' option in views?

1 Answers  


How do I configure the burn factor in sybase?

1 Answers  


What are the advantages that you can get from mainframe connect in sybase?

1 Answers  


What causes re-resolution of a stored procedure in sybase?

1 Answers  


What is open server in sybase?

1 Answers  


How do I move tempdb off of the master device?

1 Answers  


What is the default table size in sybase?

1 Answers  


What are the best monitoring tools for the sybase database?

1 Answers  


Categories