get the array value?

Поиск
Список
Период
Сортировка
От Charles.Hou
Тема get the array value?
Дата
Msg-id dcad04c8-3b42-45d1-9b55-3f78977894e2@d42g2000prb.googlegroups.com
обсуждение исходный текст
Список pgsql-general
name[] = { JOHN , ALEX , TEST ,""}

SQL : select name from table1 where 'TEST' = any (name)

return: { JOHN , ALEX , TEST }

in this sql command, how can i get the index of 'TEST' is 3 ?



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

Предыдущее
От: Andrej Podzimek
Дата:
Сообщение: Automatic CRL reload
Следующее
От: Gerhard Wiesinger
Дата:
Сообщение: Information about Pages, row versions of tables, indices