Improve company productivity with a Business Account.Sign Up
Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
-- Author: <Author,,Name>
-- Create date: <Create Date,,>
-- Description: <Description,,>
ALTER TRIGGER [dbo].[InsertAlertType]
AFTER INSERT, UPDATE
DECLARE @col2 INT
DECLARE @cmd VARCHAR(2000)
set @col2 = (SELECT AlertType FROM inserted)
IF @col2 = 3
-- What do i insert here
Open in new window
EXEC msdb.dbo.sp_start_job N'your_job_name' ;
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.