Re: Multi-Keyed Files


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on February 27, 2009 at 06:14:01:

In Reply to: Re: Multi-Keyed Files posted by Neil Badger on February 26, 2009 at 23:21:21:

Badge:

Only the primary key is guaranteed to be unique in a multi-keyed file. Thus there will only be one record in the file with a particular primary key value. There may be many records with the same value in a secondary key. In your example of the product code and color I'm guessing there are many products with the same product code and many products with the same color code. They are distinguished by the primary key, perhaps the product id? If you set up a secondary key by product code you'll get a key tree that essentially sorts the file only by product code. If you set up a secondary key by color code you'll get a key tree that sorts the file by color code. Hope this helps.

bb


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]