Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do you recycle records in SQL Server?
Message
From
30/12/2015 10:19:05
 
 
To
30/12/2015 09:47:54
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2014
Application:
Web
Miscellaneous
Thread ID:
01629442
Message ID:
01629449
Views:
44
The real question - besides simplifying code - is whether keeping the old records in their place on disk will minimize access time (for old HDs, mostly head movement) or wear level (for heavily used SSDs). As indexing strategy (including PK generation) plays a role, difficult to say IMO, if not premature optimization. OTOH, if the code is long enough in use it should be bug free, so eliminating will reduce the amount of code worked upon only minimally.

>SQL Server does not keep deleted records like VFP does. If you delete a row, it is removed by SQL Server. Recycling records is something that isn't done in SQL Server.
>
>
>>I know; I was not using RECALL (in VFP). I am setting a certain field value to 'D' and then look for these records (with 'D') and set the value back to empty. So my recycling (in VFP) is not Delete/Recall. So I could, in theory, apply it to SQL Server. But I am trying to simplify my code; hence this question.
>>Thank you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform