About 53 results
Open links in new tab
  1. crear trigger para sql server - Stack Overflow en español

    Soy un poco nuevo en sql server, y tengo una tabla la cual se llama clientes. lo que quiero es crear un trigger que al borrar un registro de mi tabla clientes el trigger me inserte ese registro bor...

  2. sql - IF Statement inside Trigger Clause - Stack Overflow

    Dec 25, 2014 · I want to use an if statement inside trigger but the value if comparison will come from an other select statement. I have done the following: create or replace Trigger MYTRIGGER After Insert …

  3. sql - Identify the operation type (insert, update, delete) in trigger ...

    We are using the following trigger in SQL Server to maintain the history now I need to identify the operation e.g. insert, update or delete. I found some information HERE but it doesn't work with t...

  4. Call Stored Procedure within Create Trigger in SQL Server

    Feb 19, 2016 · I want call this stored procedure in an insert trigger. How do I retrieve the corresponding fields from inserted and how do i call insert2Newsletter within the trigger?

  5. sql server - Insert Update trigger how to determine if insert or update ...

    Apr 12, 2009 · To that end, I would like to give the following multi-trigger event code snippet for handling INSERT, UPDATE, DELETE in one trigger for an Microsoft SQL Server.

  6. SQL Server after update trigger - Stack Overflow

    I have a problem with this trigger. I would like it to update the requested information only to the row in question (the one I just updated) and not the entire table. CREATE TRIGGER [dbo].[

  7. sql server trigger - Stack Overflow

    Apr 15, 2015 · SQL Server does not have the BEFORE INSERT/UPDATE/DELETE triggers that other RDBMS have. You can have any number of AFTER triggers, but only one INSTEAD OF trigger for …

  8. How can I get the definition (body) of a trigger in SQL Server?

    29 sp_helptext works to get the sql that makes up a trigger. The text column in the syscomments view also contains the sql used for object creation.

  9. SQL Differences between stored procedure and triggers

    Dec 27, 2022 · A stored procedure is a user defined piece of code written in the local version of PL/SQL, which may return a value (making it a function) that is invoked by calling it explicitly. A trigger is a …

  10. sql - ¿Cuál es la sintaxis de un Trigger? - Stack Overflow en español

    Creo que está mal y no lo puedo comprobar, a ver si alguien sabe. Es un trigger que se dispara después de que se actualice la Localidad (loc) de la tabla departamento (depart), una vez actualizada...