Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
mary_itohan
Posting Yak Master
191 Posts |
Posted - 2008-08-01 : 05:02:06
|
| hello,I have a billing system that has a choice of two options.When a user purchases multi products. It does a billing.Multi products are in a csv format, passed to the db, which identifies the price of the products and 1. Makes a log/history of the products2. Updates the users credtisPROBLEMThis billing platform is quite a busy system. So am wondering which is better to use1. Calculate the total bill before billing and - Make a log/history of products- Update the credits table ( With the total sum ) JUST ONCEie 1,000 inserts into the history table and 1 update to the credit tableor 2. Make a log/history of products- update at each history is inserted ( MULTIPLE UPDATES )ie 1,000 inserts into the history table and 1,000 update to the credit tableHope this is clearthanksMYes O ! |
|
|
|
|
|