[fpc-pascal] sqldb how to find a record fast with primary key

Ludo Brands ludo.brands at free.fr
Fri Oct 21 18:02:19 CEST 2011


> Can't you do the lookup in the DB server by a SQL join for example?
> 

Or, if you need do some processing in between, use 2 queries and build the
"where" clause for the 2nd from the results of the 1st. If you don't need
the full table, don't use select *.

Ludo




More information about the fpc-pascal mailing list