Skip to main content

Questions tagged [trigger]

Procedural code automatically executed in response to a database event.

0 votes
1 answer
32 views

Overview I have the following setup using Azure PostgreSQL flexible server v17: a main database containing a certain table included in the table list for a logical replication publication a replica ...
Alexei's user avatar
  • 1,193
0 votes
0 answers
16 views

I'm now in Apache IoTDB version 1.3.0 and want to create a simple trigger but encountering class loading issues. My trigger code: `package com.example.trigger; import org.apache.iotdb.trigger.api....
Sihan Liu's user avatar
  • 101
5 votes
1 answer
206 views

I have a trigger: AFTER INSERT OR DELETE ON cryptokeys2020 FOR EACH ROW EXECUTE FUNCTION update_domains_dnssec(); Then I: INSERT INTO cryptokeys2020 (...) SELECT ... Example: cryptokeys2020 is empty ...
KlausD's user avatar
  • 53
0 votes
1 answer
102 views

Consider the following example: Create Table Test ([id] int, [value] varchar(max)) Go Create Table Test_Log ([row_id] int, [action] varchar(11), [timestamp] DateTime default GetDate(), [id] int, [...
SHR's user avatar
  • 886
1 vote
1 answer
59 views

Using MySQL, for the Staff (User) table, I am using the triggers (Before Insert and Before Update) to encrypt the passwords that are saved. Is there anything wrong with this approach?
Rohit Gupta's user avatar
  • 2,158
0 votes
2 answers
270 views

I have a problem with trigger which produces the following error message Trigger returned a resultset and/or was running with SET NOCOUNT OF The trigger is structured like this: CREATE TRIGGER ...
ventiseis's user avatar
  • 103
0 votes
0 answers
30 views

A social security organization wishes to develop an application to manage patients, their attending a generalist, and specialist doctors. A person is either a beneficiary or a doctor; a doctor can ...
NGANGO YVES's user avatar
3 votes
6 answers
672 views

The answer in this post is pretty much what I did to get my problem: SQL Server trigger before insert or update depend on value I have a CUSTOMER table that has multiple triggers attached. One of ...
user avatar

15 30 50 per page
1
2 3 4 5
102