INSTR() like function?

Поиск
Список
Период
Сортировка
От Michael Loftis
Тема INSTR() like function?
Дата
Msg-id 001201c03494$7f56e820$740610ac@activesw.com
обсуждение исходный текст
Ответы Re: INSTR() like function?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
In mySQL there is an INSTR(arg1,arg2) function that takes and looks for any
of the characters in arg1 and matches them against arg2

IE are the characters A or B or C or D in the string "dogma" would be
INSTR('ABCD','dogma');

Anyone help me to produce this sort of logic in an PSQL select statement?

PostgreSQL 7.0.2 and 6.5 are present here, solution for 7 series preferable,
and if the answer is to make a stored procedure then that's OK, I would
think that there is a way to do it already though.

Michael


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: PostgreSQL book
Следующее
От: Nelson Brito
Дата:
Сообщение: Problem whith Stored queries