Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Managing deleted records
Message
From
25/07/2008 12:00:36
 
 
To
25/07/2008 11:44:36
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
01334090
Message ID:
01334093
Views:
9
>With the Express version of SQL Server, are deleted records in the tables handled the same way they are in VFP? By that I mean, does a deleted record remain in the table until it is PACKED or flushed by some other means? If yes, what means would that be?
>
>Also, when a table is managed via a web interface and accumulates deleted records fairly quickly, what techniques are commonly used to flush the deleted records? Is there a way to easily automate this so administrator functions are minimized and the database doesn't need to be taken off line? (This question pertains to both types of databases, SQL and VFP)
>
>Thanks

Bill answered your first question. As to the second, 'it depends'. Our system incurrs a lot of inserts deletes and our data model is deep (great-great grandchildren). We found that deletes were causing contention issues. We adopted the FoxPro approach by adding a column for deleted. Our SP filter on this column. We run a nightly scheduled batch job to perform the 'pack'. Our approach should not be required for a simpler datamodel.
Previous
Reply
Map
View

Click here to load this message in the networking platform