I use Firebird 2.5 64bit edition. I have two tables Master (A) and Detail (B) and I set cascade update and delete for B so if I delete a record in the master any related records in the detail will be
So I am trying to set up a trigger that when a new row to my user table is created a new 开发者_开发知识库row is also created in my profile table and the primary key in the user table is inserted into
I want to prevent the database from storing any values bigger than 20 into a table. CREATE OR REPLACE TRIGGER Dont_Allow
I need a little heads up on the mistake I have made on this trigger.I am using a LINQ to SQL data layer in my asp.net/c# application which inserts data into the database fine before I added this trigg
I use th开发者_运维知识库is onChange-trigger to log all changes within my mysql database tabel \"house\" to as second table house_history (which has exactly the same fields + a version ID).
I use DB2 and writing a trigger count version works but I can\'t convert it to exists version. I will use exists version because of performancereasons.It is a insert after trigger.
I have two tables in the same DB on SQL Server 2008. When I insert a row to the first I want some fields to be co开发者_运维问答pied to the second one. I made a trigger that is doing that but the prob
At the code below, when a mouse is over the grid, the grid\'s Background is expected to be red, but it isn\'t executed as expected.
I\'m seeking to configure a table in MySQL that will allow me to enforce an order of field entry. e.g. Presume a table which includes the following fields
I have a table in a SQL Server database.It has a two-part natural key on Location (an integer) and CaseNumber (also an integer).When I create a new record I want to specify the Location and have the C