Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Trigger code Error (db_email)

$
0
0

My trigger code gives to this error 

At least one of the following parameters must be specified. "@recipients, @copy_recipients, @blind_copy_recipients".

My Code =

CREATE TRIGGER TRG_GOREVALAN 
   ON  TBLGOREV
   AFTER  INSERT
AS 
BEGIN
DECLARE @ID INT 
DECLARE @EMAIL VARCHAR(MAX) 


SELECT EMAIL FROM TBLGOREV WHERE @ID=ID 

@EMAIL=EMAIL



EXECUTE  [GorevTakip].[dbo].[SP_Email_GOREALAN]  @EMAIL


END
GO




Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>