Seeking for the fore-part of the key

Поиск
Список
Период
Сортировка
От Havasvölgyi Ottó
Тема Seeking for the fore-part of the key
Дата
Msg-id 34608c0c0901111250o3bfb3cbcqb21b235d5631a26d@mail.gmail.com
обсуждение исходный текст
Ответы Re: Seeking for the fore-part of the key  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список pgsql-sql
Hi,<br /><br />Let's assume I have a table (called tbl) with a column 'name' and an index on it.<br />How to optimally
findrecords whose name column begins with - say - "Pre"?<br />I know it can be done with LIKE (WHERE name LIKE 'Pre%'),
butwill this use the index mentioned above to optimize the search?<br /><br />Thanks,<br />Otto<br /> 

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: some howto/theory book/tutorial on practical problem solving in SQL
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Seeking for the fore-part of the key