Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8461535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:54:27+00:00 2026-06-10T13:54:27+00:00

I created a FOR INSERT trigger that will fire after inserting. Below are the

  • 0

I created a FOR INSERT trigger that will fire after inserting. Below are the different scenarios for which I would like to know how trigger will fire.

The trigger is on an employee table.
I begin one transaction where I insert 4 rows. My doubt is how trigger will fire.

  1. Will it fire immediately after inserting each row?
  2. Will it fire after completion of all the rows in that transaction

We are able to access the inserted & deleted special tables from the trigger.

  1. How many rows will be present in those tables each time? Only one record? Or multiple records?

Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T13:54:29+00:00Added an answer on June 10, 2026 at 1:54 pm

    The trigger will fire after each INSERT statement.

    If you have 4 INSERT statements, each of 1 row, the trigger will be fired 4 times with 1 record in the inserted special table after each insert.

    If you have 1 INSERT statement of 4 rows, the trigger will be fired just 1 time with 4 records in the inserted special table after the insert.

    If they are transactional inserts, the actions you perform in the trigger will be transactional too. This is very important if the trigger has an internal transaction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a trigger that will do the following. After insert on
Using the Northwind sample: I would like to create an insert trigger on the
I have created a test table in MySQL and would like to insert 10
I am trying to create a BEFORE INSERT trigger that will check the incoming
I want to create a trigger in foxpro that will execute after every update
So, I'm trying to create a trigger that will throw an error on inserting
The trigger below is delaying my insert response. How can I prevent this? create
There is something wrong with this trigger. But what? CREATE TRIGGER MYCOOLTRIGGER AFTER INSERT
I have created a datatable and trying to insert that datatable through SqlBulkCopy but
I'm creating a stored procedure that will create 3 triggers (insert, update, delete) given

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.