What are triggers? How do you invoke a trigger on demand?
Answer / Barkha Saxena
In SQL Server, a trigger is a special type of stored procedure that automatically responds to certain database events (like INSERT, UPDATE, or DELETE). Triggers are defined for specific tables and execute when the specified event occurs against the table.nnUnfortunately, SQL Server triggers cannot be invoked on demand without actually performing the operation they're designed to react to.
| Is This Answer Correct ? | 0 Yes | 0 No |
What will be query used to get the list of triggers in a database?
What is the standby server?
Can a database be shrunk to 0 bytes, if not, why?
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?
Mention the different authentication modes in sql server.
How can you check the version of sql server?
What do you understand by integration services in sql server?
How to loop through result set objects using odbc_fetch_row()?
What is cross join in sql server joins?
what is cluster and nin-cluster index?
what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?
What is abstracting periodical?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)