Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


There is a trigger defined for INSERT operations on a
table, in an OLTP system. The trigger is written to
instantiate a COM object and pass the newly insterted rows
to it for some custom processing. What do you think of this
implementation? Can this be implemented better?



There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is wri..

Answer / swapna

Instantiating COM objects is a time consuming process and
since you are doing it from within a trigger, it slows down
the data insertion process. Same is the case with sending
emails from triggers.

This scenario can be better implemented by logging all the
necessary data into a separate table, and have a job which
periodically checks this table and does the needful.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Do you think BCNF is better than 2NF & 3NF? Why?

0 Answers   Ernst Young,


Explain full-text indexing?

0 Answers  


Plz tell about backup&recovery?

3 Answers  


Do you know clustered and non-clustered index?

0 Answers  


What are temporal tables in sql server 2016?

0 Answers  


What is data source document?

0 Answers  


Is it possible to replicate data from sql server to oracle? : sql server replication

0 Answers  


How to execute multiple stored procedures at one time in sql server?

0 Answers  


Explain the difference between clustered and non-clustered index?

0 Answers  


What is the difference between views and stored procedures? Can we have input parameters for views?

6 Answers  


What are the different types of joins and what does each do?

2 Answers  


What are filegroups in sql server?

0 Answers  


Categories