B-Tree Index Usage



Hi
Since I hope that Raining Data will be doing a significant amount of work on
D3 Indices in the not too distant future - Tdata and Mark Brown have
confirmed my results and requests are now being prepared - I would
appreciate your opinions on how to form or perhaps dump my request.

I have been very surprised at the number of people who have indicated
verbally or through cdp that translates to index across two files are a bad
idea. To my mind this indicates a problem with the implementation methods
not the design. The procedure is not rocket science.
For example a file (I can't call it a master file according to DAWN :-) )
contains the name and another file contains multiple addresses.
On creation of an address we write an index Name:Address key
On alteration of a name we loop through, delete the old Name:Address key and
create the new one. Note that this sort of thing is even rarer these days
than it was 20 years ago as many girls retain their own account names on
marriage these days, so it is not a big load.

What is missing in the D3 scenario is a re-index(filename,oldkey,newkey)
that can be used from basic or a trigger. In fact it almost sounds like the
defunct b-correlative but that was purely to get round the problem of trying
to write programs using/abusing an editor instead of the proper programming
language - imagine trying to write programs with VI as the driver.

By the way my latest testing indicates that a Sort will not use a date index
unless there is a limitation on it.
SORT FILE BY DATEINDEXADI will not use the index according to the result
message
SORT FILE BY DATEINDEXADI NE "1-4-2006" will use the index.
To make life even more interesting there is a difference in date
interpretation betwwen ACCESS and a program. If one forgets to SET-DATE-EUR
to get the proper format the program DM,BP, DATE will still give one the
correct format as per the setting on your winbox whereas ACCESS will try and
use the US format. This can lead to a little head scratching for a minute
or two.

Peter McMurray


.



Relevant Pages

  • Re: Completely baffled on what should be simple
    ... the same thing I previously did, changing format to custom ... sort, it didn't work. ... if a cell contains the text ...
    (microsoft.public.excel.misc)
  • Re: Completely baffled on what should be simple
    ... And remember just changing the format of the cell won't change the underlying ... sort, it didn't work. ... for the extensions that have either one or two 0's as the first numbers, ...
    (microsoft.public.excel.misc)
  • Re: Sane Syntax
    ... It's sort of like a game of telephone - if converting ... I don't know much about DocBook, but tsy's "Super DocBook" format does ... capability for visual markup, ... material before it was typeset. ...
    (comp.text.tex)
  • Re: Sort order - Data midified / Created
    ... What you suggest is a kludge to get around a Windows flaw. ... on the sub heading "Change the date, time, or number format" On the Formats ... All I do is click on the column header and the sort happens, ...
    (microsoft.public.windows.vista.general)
  • Re: Multiple date formats in a Table
    ... could choose a future date so they all sort at the end. ... However if you are set up to use UK format dates of dd/mm/yy, ... converting any entries where you know the full date. ... > iii) Once you've got a function that works, create a new query in design ...
    (microsoft.public.access.tablesdbdesign)

Loading