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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a scrollable cursor with the scroll option?

991


do you know how to configure db2 side of the application? : Sql server database administration

1037


What is the process of normalising?

992


What is data source in connection string?

900


What is data modification?

952


Explain the use of containers in ssis and also their types?

964


What are the High-Availability solutions in SQL Server and differentiate them briefly?

1134


Is null in sql server?

979


How do you create type- insensitive operator?

1035


Any one plz send me SQL Server Developer/DBA resume for 4 years experience

2739


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

1138


How do you know if sql server is running on your local system?

1032


What is the recovery model?

980


What is the difference between NOROW and LOCKROW?

2826


What is policy management?

988