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

If we use where clause in the left outer join then how the query would behave/act?

1 Answers  


What is merge?

0 Answers  


What are the benefits of filtered indexes?

0 Answers  


Which command displays the SQL command in the SQL buffer, and then executes it?

3 Answers   TCS,


What are the benefits and tasks of object explorer? : sql server management studio

0 Answers  


Does partitioning improve performance sql server?

0 Answers  


What is the basic functions for master, msdb, tempdb databases?

2 Answers   CSC,


What security features are available for stored procedure?

0 Answers  


what is the signification difference of this bit data type between sql 6.5 and later version sql server?

1 Answers  


How to run sql server 2005 books online on your local system?

0 Answers  


How can I tell if sql server is 32 or 64 bit?

0 Answers  


Is sql server difficult to learn?

0 Answers  


Categories