Simple question that could help a lot in some of my situations.
If you have a primary key (say the No. field on the Purchase Receipt Header table) and a secondary key (say Order No. on the Purchase Receipt Header table) and you sort the table by the Secondary key....
... can you assume that the records are secondarily sorted by the primary key? If you sort the receipt header table by the order no. key then it appears that they are, but this could just be coincidence.
GaMBe
0
Comments
The primairy key is automaticaly part if the secondary key. (In C-Side at least).