Are there any (significant or otherwise) performance increases or decreases in using a "find first" versus a find when the where clause contains all and only the fields that exist in the primary unique index for the table. Here's an example:
Progress Database Table: customer
Fields: companyNumber, customerNumber, name, address, zipcd, phone
Index (Primary Unique): companyNumber, customerNumber
Is there any difference between the two statements?
Progress Database Table: customer
Fields: companyNumber, customerNumber, name, address, zipcd, phone
Index (Primary Unique): companyNumber, customerNumber
Code:
find customer where customer.companyNumber = inputCompany
and customer.customerNumber = inputCust no-lock no-error.
Code:
find first customer where customer.companyNumber = inputCompany
and customer.customerNumber = input Cust no-lock no-error.
Is there any difference between the two statements?