Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Using BLANK records as new records?
Message
From
25/05/1997 05:10:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/05/1997 13:55:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00032970
Message ID:
00033570
Views:
46
> I believe if you check the documentation, INSERT - SQL does > momentarily lock the table header in order to update the record count > contained in the header. But you are right, INSERT INTO is much superior to > APPEND BLANK. I reckon that indexes make the difference. Appending a blank record writes a blank entry into all the index tags it has, then replacing the values replaces the tag values as well, moving them down the binary tree and probably causing some block splitting every once in a while. Inserting a record puts its tag values right down to where they belong, in only one move. I've measured inserting vs appending when first I saw a .cdx index, and ratio is about 1 to 2. Never tried without indexes, but 1 to 1.4 is my first guess. BTW, isn't it more proper English to write "indices" instead of "indexes"? I mean, we do say "data" and don't say "datums". I did learn it some... wow, thirty years ago, and the professor said that English keeps Latin plurals.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform