How to FindNearest

Поиск
Список
Период
Сортировка
От Alexander Ilyin
Тема How to FindNearest
Дата
Msg-id E1GTaRg-0009G5-H9@kitty.ukr.net
обсуждение исходный текст
Ответы Re: How to FindNearest
Список pgsql-sql
How to implement the functionality similar to the BDE/Paradox TTable.FindNearest?

Suppose we have huge table. On the screen we need to show contents of that table in the Grid and under that Grid user
caninput in TextBox some letters. OnChange of this TextBox we need to make current row selection in the Grid on the row
withvalue of some column nearest to the user input in the TextBox.
 

How this can be implemented in PostgreSQL?

At my first sight:
I found there is CURSOR functionality which can move that cursor through the ResultSet. But we can move it just
relativelyphisical row number. Is there any chance to make cursor move to the row by some rule based on the row
values?

All possible approaches and ideas highly appreciated. There is just one requirement - the performance, it should work
asfast as possible.
 

Regards,
Alexander Ilyin


В списке pgsql-sql по дате отправления:

Предыдущее
От: chester c young
Дата:
Сообщение: tree-structured query
Следующее
От: Ragnar
Дата:
Сообщение: Re: tree-structured query