Sending Email from SQL stored procedure RRS feed

  • Question

  • User-809753952 posted

    I have an SQL stored procedure in which an SQL statement inserts records to a table.

    If there is any error in inserting records like primary key violation, I would like to send an email to a list of users.

    How to do this inside the SQL procedure?

    Monday, November 23, 2015 7:27 AM