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

What are the different Topologies in which Replication can be configured?

0 Answers  


Is it possible to delete duplicate rows in a table without using a temporary table ?

12 Answers   TCS,


how can you check the level of fragmentation on a table? : Sql server administration

0 Answers  


What is INTVAL( )and where we use Plz any body help me

1 Answers  


What are a database and a data warehouse?

0 Answers  


Describe in brief system database.

0 Answers  


What happens if ntwdblib.dll is missing on your machine?

0 Answers  


What is ms sql server triggers?

0 Answers  


Why are sql functions used?

0 Answers  


New concepts of sql server 2005 use in your project.

0 Answers   TCS,


what is replication? where do u use Go Keyword?

1 Answers   Satyam,


Please explain what is “asynchronous” communication in sql server service broker?

0 Answers  


Categories