Top "Triggers" questions

Triggers are rules that perform actions or invoke functions in response to events such as matching conditions or database changes.

How to emulate a BEFORE INSERT trigger in T-SQL / SQL Server for super/subtype (Inheritance) entities?

This is on Azure. I have a supertype entity and several subtype entities, the latter of which needs to obtain …

sql-server tsql triggers azure-sql-database
Postgresql, update if row with some unique value exists, else insert

I have a URLs table. They contain (id int primary key, url character varying unique, content character varying, last analyzed …

postgresql triggers plpgsql
mysql after insert trigger which updates another table's column

i'm trying to write a trigger, I have following tables: BookingRequest: +-----------+---------+------+-----+---------+----------------+ | Field | Type | Null | …

mysql sql-update triggers
MySQL Fire Trigger for both Insert and Update

Is it possible to fire a mysql trigger for both the insert and update events of a table? I know …

mysql triggers
How to: Create trigger for auto update modified date with SQL Server 2008

It would be nice to know how to create a trigger that auto-updates the modifiedDate column in my SQL Server …

sql-server sql-server-2008 date triggers
How do I trigger a macro to run after a new mail is received in Outlook?

I'm writing a macro that creates tickets on a database based on alerts received from a Nagios server as an …

vba outlook triggers
jQuery: trigger click or focus input field

I have a page with multiple divs that all look like the example below. Each div contains a field, a …

javascript jquery triggers eventtrigger
jquery trigger hover on anchor

I'm using jQuery to develop in web environment. I want to know why $("#a#trigger").trigger('mouseenter'); $("#a#trigger").trigger(…

jquery triggers hover mouseover
WPF Trigger for IsSelected in a DataTemplate for ListBox items

I have a listbox, and I have the following ItemTemplate for it: <DataTemplate x:Key="ScenarioItemTemplate"> <Border …

wpf triggers listbox itemtemplate event-triggers