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 |
|
TexDec
Starting Member
22 Posts |
Posted - 2002-10-24 : 12:34:17
|
| I have a SP that needs to runs daily to update the PRODUCT table in a forecasting/planning DB. The product table is loaded from our Sales DB into a raw table (using DTS).The SP 1/ drops all FK constraints that ref the PRODUCT table2/ delete * from PRODUCT3/ insert into PRODUCT from RAW4/ re-instates all FK constraints that ref the PRODUCT tableWhat is the best transaction/commit policy for this type of SP. Everything I've tried either doesn't work or end up locking the PRODUCT table.ThanksDeclanDeclan KThe only Keane we need is Robbie |
|
|
|
|
|