(ParentKey is the "Addr" foreign key that matches up to altProv.DetailKey. According to SYS(3054,11) there is no optimization on "Addr". ) SELECT altProv.DetailKey ; , altProv.LastName ; , Addr.DetailKey ; , Addr.ParentKey ; FROM "AltProv" ; RIGHT OUTER JOIN "Addr" ; ON ( altProv.DetailKey == Addr.ParentKey ) ; WHERE ( altProv.DetailKey == "00938694" ) ; INTO CURSOR "TestOnly"-------------
Using index tag Detailkey to rushmore optimize table altprov Rushmore optimization level for table altprov: full Rushmore optimization level for table addr: none Joining table addr and table altprov using index tag Detailkey8.0 SP1 and SYS(3054,11):
Using index tag Detailkey to rushmore optimize table altprov Rushmore optimization level for table altprov: partial Rushmore optimization level for table addr: none Joining table addr and table altprov using index tag Detailkey-----------------------
Alias: ALTPROV Code page: 1252 Field Field Name Type Width 1 DETAILKEY Character 8 ... ... ... 19 CREATEDON DateTime 8 ** Total ** 245 Structural CDX file: P:\FBDATA\ALTPROV.CDX Index tag: DETAILKEY Collate: Machine Key: DETAILKEY Candidate Alias: ADDR Code page: 1252 Field Field Name Type Width 1 DETAILKEY Character 8 2 PARENTKEY Character 8 ... ... ... 11 CREATEDON DateTime 8 ** Total ** 130 Structural CDX file: P:\FBDATA\ADDR.CDX Index tag: PARENTKEY Collate: Machine Key: PARENTKEY Index tag: DETAILKEY Collate: Machine Key: DETAILKEY Candidate