Recent IT Questions

1 - 20 of 21
<<PREVIOUS 1|2 NEXT>>

After trigger select from other tables using joins

Is it possible to create a trigger on table A if there is an insert, update, or delete then fire the trigger but in addition to the changes in table A I want to capture values from table B,C,D,E.... even if those records had no action applied to them. I tried declaring variables from the other...

View Answer   |  May 13 2009  3:48 PM GMT
Oracle, Triggers, LEFT OUTER JOIN statement
asked by Pmnc8179

  5 pts.

Subscript beyond count on nested table (trying to update a column in a trigger for the same table as trigger)

CREATE OR REPLACE PACKAGE trigger_api AS PROCEDURE tab1_row_change (p_id IN ae_dt526.field1%TYPE, p_action IN varchar2, p_field13 IN varchar2, p_blanket_ind IN varchar2 ); ...

View Answer   |  Feb 1 2009  11:39 PM GMT
Oracle 10g, Oracle 10g triggers, Oracle triggers
asked by APB

  10 pts.

How to call trigger stored in database using Oracle Forms

how to call trigger stored in database using oracle forms

View Answer   |  Jan 30 2009  9:47 AM GMT
Oracle Forms, Oracle triggers, Triggers
asked by RoseForHeba

  5 pts.

Update a field in one table after the change on a field in another table using a trigger in SQL

I have a WODet table and after the field "Complete" is changed to "True" I need to update my SODet table field "UD3" to "True" using a trigger in SQL where dbo.SalesOrderDetails.SalesOrderDetailID = dbo.WorkOrderDetails.SalesOrderDetailID Thank you in advance

Answer Question   |  Dec 17 2008  7:08 PM GMT
SQL, Triggers
asked by Tanjaatbrenlo

  40 pts.

Writing a hidden trigger against a SQL table

How do I write a hidden trigger against a SQL table?

View Answer   |  Dec 10 2008  7:48 PM GMT
Triggers, SQL Server tables
asked by SQL Server Ask the Experts

  2420 pts.

SQL Server trigger , insert result of multiple where clause into a variable

Hi All, I have a select statement that stores the result in a variable,this works fine if there is only one condition and field in the clause.How do I go about it if there is more than one? For example (Working one) SELECT @Variable = (SELECT [Field] FROM [Table] WHERE [FIELD] = Value) But I am...

View Answer   |  Nov 11 2008  8:23 AM GMT
SQL, SELECT statement, Triggers
asked by Jacquesvdm

  20 pts.

Prevent Update in DB2 SQL External Trigger Program

I have a 3rd party application that maintains a customer master file (update, insert, delete) and I cannot alter their programs. I would like to put a trigger on the database file to fire an external program on insert and determine if the insert should be performed. If not, I would like to send a...

View Answer   |  Nov 3 2008  4:29 PM GMT
AS/400, SQL, DB2
asked by Djswtd

  25 pts.

Triggering a stored procedure from C#

how to tigering a sp from c#???

View Answer   |  Oct 14 2008  5:24 AM GMT
Stored Procedures, Triggers, C#
asked by Gane

  10 pts.

Explaining triggers in SQL Server 2005

Can you explain to me the syntaxes of triggers used in SQL Server 2005? Could you also give me a simple example of a trigger?

View Answer   |  Oct 13 2008  6:52 PM GMT
SQL Server 2005, Triggers, syntax
asked by SQL Server Ask the Experts

  2420 pts.

Trigger statement

sample trigger : create trigger trig_sample on table for insert,update as update table go now, the statement inside the trigger is to update the same table . will the trigger keeps on firing and thus cause and internal error??

View Answer   |  Sep 9 2008  6:19 AM GMT
Database programming, Triggers
asked by C1140

  15 pts.

Trigger programs

In a trigger program, is there a way to retrieve the program name that initiated the event?

Answer Question   |  Aug 6 2008  2:17 AM GMT
Triggers
asked by Mcg

  15 pts.

Error in SQL coding

I am having a specific problem with coding in SQL, and I was curious if you could give me any advice. I have entered this code: CREATE TRIGGER UpdateAfterPayment On SupplierTransactionDetails For Insert, Update, Delete As Update S If i.DebitValue>0 S.Balance = S.Balance + i.DebitValue else...

View Answer   |  Aug 4 2008  2:31 PM GMT
SQL, Triggers, Code
asked by SQL Server Ask the Experts

  2420 pts.

How to create a trigger for updating a table for a quantity decrease?

How do you create a trigger to take care of the process of updating a table, to reflect a change downward in the quantity column? 1. The trigger needs to be an AFTER INSERT trigger on the above table so the trigger will not fire in case of exceptions. 2. The trigger must fire for each row that...

View Answer   |  Jul 16 2008  3:48 PM GMT
Oracle development, Triggers
asked by OracleATE

  190 pts.

How to find out what is happening in a Database?

We have an old server that runs SQL Server 7 on an NT system. One database has processes running that are not documented. I have written triggers to report any deletions, inserts or updates made against the database's tables. All I can report is that an insert, update or delete has occurred, the...

View Answer   |  Jul 14 2008  11:01 PM GMT
SQL Server, Triggers, Temp Tables
asked by Mjf7

  5 pts.

How to prevent SQL update trigger from firing on insert?

Category: SQL Server 2005, T-SQL I have an insert trigger on TableA that updates Column1 in TableA. I also have an update trigger on TableA that I don't want to fire, or at least not to execute certain code, when a new record is inserted in the table. How can this be achieved? I don't want to...

View Answer   |  Apr 22 2008  5:34 PM GMT
SQL Server, SQL Server 2005, T/SQL
asked by Leo W

  5 pts.

Design a SQL Server trigger to calculate column averages and return them to another table

I'm quite new to SQL Server and I’m struggling to design a trigger. I need this trigger to execute daily and calculate averages of columns and return them to another table.

View Answer   |  Mar 16 2008  10:25 PM GMT
SQL Server development, Triggers, SQL Server performance
asked by SQL Server Ask the Experts

  2420 pts.

Daily trigger in SQL

I'm trying to create a trigger to execute daily and calculate a few averages for me. Please help!

View Answer   |  Mar 13 2008  6:50 AM GMT
SQL, Triggers
asked by Barend IT

  15 pts.

trigger to update

My Table Structure is: Table A Table B Table C colA -PK Col B-PK Col C-PK Col B-FK Col B-FK Col C-FK This relation establish a Concurrent relation where in Cascade Property fails.I can set Cascade property for any two tabnles...but not the third table. My requirement is : 1)To Update PK of...

View Answer   |  Feb 13 2008  4:54 AM GMT
SQL, Triggers
asked by Adithi

  5 pts.

left outer join in trigger DB2 Z/OS

I'm having problems writing a trigger that contains a left outer join. Here is the trigger: CREATE TRIGGER H000.H0TRCAD2 AFTER DELETE ON H000.H0COO_TRANS_CALLC REFERENCING OLD AS OLD_ROW FOR EACH ROW MODE DB2SQL BEGIN ATOMIC SELECT OLD_ROW.CLNT_ID , OLD_ROW.ACCT_NBR , OLD_ROW.PST_DT ,...

View Answer   |  Feb 7 2008  3:34 PM GMT
DB2, z/OS, Triggers
asked by X00005

  5 pts.

DB Triggers and JPA

I have a physical file/table, on an iSeries, into which I drop a record containing UserID and Password. This action in turn fires a trigger that ends up calling the api QSYGETPH to verify the user's login credentials. This has been working for years under our previous architecture, wherein we...

asked by Rdgrimes

  0 pts.

1 - 20 of 21
<<PREVIOUS 1|2 NEXT>>