
February 7th, 2011, 10:58 AM
|
|
Contributing User
|
|
Join Date: Jan 2006
Location: Carlsbad, CA
|
|
Code:
SELECT * FROM ProductsWIndex
WHERE ProductID < :ProductID
Firbird will use the PK without your help.
At the purest level, SQL is a declarative language.
That means you 'declare' what you want and the SQL server implementation decides how to fulfill it.
Last edited by clivew : February 7th, 2011 at 12:48 PM.
|