SQL Server trigger problem summary

Source: Internet
Author: User

This post mainly summarizes the trigger applications.

If you have never used a trigger, read the following article about using the trigger.
Http://msdn.microsoft.com/library/chs/default.asp? Url =/library/CHS/vdbt7/html/dvtskworkingwithtriggers. asp

You can search for CSDN Technical Community documents at the following link, which is a great technical treasure.
Http://search.csdn.net/search/null/1/dev/

How to view existing data table triggers
Http://topic.csdn.net/t/20050430/11/3977896.html
Http://topic.csdn.net/t/20020630/08/838835.html

Recursive trigger
Recursive trigger Materials
Http://topic.csdn.net/t/20050524/07/4030396.html
Maximum number of recursive Layers
Http://topic.csdn.net/t/20041125/23/3589401.html
How to disable recursive call triggers
Http://topic.csdn.net/t/20041116/15/3557957.html
Http://topic.csdn.net/t/20050426/16/3968278.html

Temporarily disable triggers
Http://topic.csdn.net/t/20041207/17/3623631.html
Http://topic.csdn.net/t/20041111/09/3542063.html
Http://topic.csdn.net/t/20050329/15/3891227.html

Execution sequence of multiple triggers on a table
Http://topic.csdn.net/t/20050430/08/3977420.html
Http://topic.csdn.net/t/20050127/18/3758856.html
Http://topic.csdn.net/t/20050126/00/3753784.html
Http://topic.csdn.net/t/20041125/10/3586596.html
Http://topic.csdn.net/t/20050308/19/3834956.html
Http://topic.csdn.net/t/20041014/20/3457150.html

Apply a trigger to a transaction
Differences between Commit Trans and Rollback Trans when performing trigger operations
Http://topic.csdn.net/t/20041122/22/3578347.html
Can A table A trigger access new data in Table B within the same transaction?
Http://topic.csdn.net/t/20050601/11/4050878.html
How to Prevent trigger rollback?
Http://topic.csdn.net/t/20041108/00/3530417.html
Ensure transaction integrity
Http://topic.csdn.net/t/20050607/10/4064811.html

Trigger Optimization
Http://topic.csdn.net/t/20050709/10/4133236.html

Use triggers to synchronize data of different data tables
Http://topic.csdn.net/t/20041028/09/3498141.html
Http://community.csdn.net/Expert/topic/5070/5070302.xml? Temp =. 8607141.

Trigger example
Http://topic.csdn.net/t/20020630/10/838981.html
Http://www.21cnvip.com/csdn/default.aspx? Q = 20040116/13/2669472.html
Http://community.csdn.net/Expert/TopicView3.asp? Id = 4934709
Http://topic.csdn.net/t/20050507/14/3987221.html
Http://community.csdn.net/Expert/topic/5138/5138501.xml? Temp =. 2209436.
Http://community.csdn.net/Expert/topic/5113/5113853.xml? Temp =. 7221643.
Http://topic.csdn.net/t/20050315/18/3853409.html
Http://community.csdn.net/Expert/topic/5054/5054821.xml? Temp = 4.970729E-03
Http://community.csdn.net/Expert/topic/5009/5009634.xml? Temp =. 937771.
Http://community.csdn.net/Expert/topic/4976/4976851.xml? Temp =. 3473169.
Http://community.csdn.net/Expert/topic/4974/4974416.xml? Temp =. 639187.
Http://community.csdn.net/Expert/topic/5121/5121369.xml? Temp =. 3964502.
Http://community.csdn.net/Expert/topic/5074/5074503.xml? Temp =. 4956476.
Http://community.csdn.net/Expert/topic/5068/5068778.xml? Temp =. 6653864.
Http://community.csdn.net/Expert/topic/5104/5104648.xml? Temp =. 5572168.
Http://topic.csdn.net/t/20050509/16/3992433.html
Http://community.csdn.net/Expert/topic/4773/4773121.xml? Temp =. 3930628.
Http://topic.csdn.net/t/20050304/10/3823834.html

Batch insert
Http://topic.csdn.net/t/20050620/18/4094938.html
Http://community.csdn.net/Expert/topic/5052/5052560.xml? Temp =. 2815973.
Http://community.csdn.net/Expert/topic/5042/5042276.xml? Temp =. 6679956.
Http://topic.csdn.net/t/20050224/17/3804072.html
Http://topic.csdn.net/t/20041015/13/3459299.html

Other errors
Alrer databse is not allowed in triggers
Http://topic.csdn.net/t/20050116/19/3729936.html
Exception thrown by trigger update 'unable to locate for update row set: some values may have changed' http://topic.csdn.net/t/20041224/15/3673909.html after last read
Trigger creation in view
Http://topic.csdn.net/t/20050308/10/3832843.html
How can I create a trigger in the system table!
Http://topic.csdn.net/t/20050509/11/3991598.html

Can triggers in SQL Server2000 be triggered at a time?
Http://community.csdn.net/Expert/topic/4886/4886913.xml? Temp =. 241131.

The trigger cannot be created!
Http://topic.csdn.net/t/20050330/23/3895974.html

The SQL statement dynamically generated in the SQL Server trigger cannot reference the inserted and deleted tables.
Http://topic.csdn.net/t/20050118/08/3733426.html

Don't let people modify my triggers
Http://topic.csdn.net/t/20050627/17/4108181.html

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.