Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Triggers

$
0
0

Hi All,

I have a question regarding Triggers in SQL. This might be a rookie question but please spare.

I have an insert trigger which is running on server X, on tableTab_A, Now this table gets data inserted very frequently, I mean every second 100s of records gets inserted into it.

Now in the trigger, I have some logic running which also inserts the inserted data intoTab_B on server Y.

My question is that when the trigger is executing its logic, meanwhile if more data gets inserted into theTab_A, what happens. Does the trigger again runs for those records which are newly inserted or something else.




Viewing all articles
Browse latest Browse all 4729

Trending Articles



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