answersLogoWhite

0

What is Trigger is SQL Server 2005?

Updated: 8/18/2019
User Avatar

Wiki User

12y ago

Best Answer

A trigger is a SQL procedure that initiates an action when an event (INSERT, DELETE or UPDATE) occurs. Triggers are stored in and managed by the DBMS.Triggers are used to maintain the referential integrity of data by changing the data in a systematic fashion. A trigger cannot be called or executed; the DBMS automatically fires the trigger as a result of a data modification to the associated table. Triggers can be viewed as similar to stored procedures in that both consist of procedural logic that is stored at the database level. Stored procedures, however, are not event-drive and are not attached to a specific table as triggers are. Stored procedures are explicitly executed by invoking a CALL to the procedure while triggers are implicitly executed. In addition, triggers can also execute stored procedures.

Nested Trigger: A trigger can also contain INSERT, UPDATE and DELETE logic within itself, so when the trigger is fired because of data modification it can also cause another data modification, thereby firing another trigger. A trigger that contains data modification logic within itself is called a nested trigger.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is Trigger is SQL Server 2005?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between sql server 2003 sql server 2005?

There is no such thing as SQL Server 2003. Microft released SQL Server 2005 as the next version of SQL Server 2000.


Describe IDE of SQL Server 2005?

An IDE for SQL Server 2005 refers to an Integrated Development Environment for SQL Server 2005. This is a tool that can be used by a programmer to create and maintan a SQL server database. Some commonly used IDE tools for SQL Server 2005 are:SQL Server Management StudioTOAD for SQL ServerTOAD for Data Analysts


When was SQL Server Management Studio created?

SQL Server Management Studio was created in 2005.


What has the author Louis Davidson written?

Louis. Davidson has written: 'Pro SQL Server 2005 Database Design and Optimization' 'Pro SQL server 2008 relational database design and implementation' -- subject(s): Client/server computing, SQL server 'Pro SQL Server 2005' 'SQL Server 2000 Stored Procedures Handbook (Expert's Voice)'


From sql server 2000 and sql 2005 which one is best?

It's a long list check this website: http://www.eweek.com/c/a/Database/Change-Is-Good-for-SQL-Server-2005/


Which tool is available in sql server 2005 that lets you stop or disable unused components?

sql server management


What is syntax errors in sql server 2005?

wrong sql syntax in your query


Where can one download SQL server 2005 video tutorials?

If someone wants SQL server 2005 tutorials then they can be downloaded from YouTube. They can also be watched or downloaded from various SQL teaching and help sites such as sql-form.


What is the sql management studio used for?

SQL Management Studio is a software application that was first released with Microsoft SQL Server 2005. It enables one to configer, manage and collect information through SQL Server 2005.


Where can one get SQL Server 2005 downloads?

The best way in order to get an SQL Server 2005 installation package would be to go to the related Microsoft SQL Server 2005 download page. The "Express" edition is free of cost and can be redistributed with own applications - all other versions of Microsoft SQL server can only be legally purchased.


IDE which is used in Sql server 2005?

There are many IDE's available that can be used with a SQL Server database. Some of them are:SQL Server Management StudioTOAD for SQL ServerTOAD for Data Analystsetc.


What is the advantage and disadvantage of sql server 2000 and sql server 2005?

The list of changes is too long to type so here is a website that has everything you ned to know:http://www.eweek.com/c/a/Database/Change-Is-Good-for-SQL-Server-2005/