Insert trigger on master detail table

  • I have two tables.

    Order table and order detail table.

    What I want to do is send notification to a service when an order is created. And I want to include both header and detail of the order.

    I can't get working with on insert trigger .

    Anyone can guide me how to go around with trigger ?

  • Create a separate table and add a row from within the trigger. Then create a job to scan that table, do whatever joins you need and send the email.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply