[GENERAL] GENERAL - [How to check if the array contains the element.]

Поиск
Список
Период
Сортировка
От VENKTESH GUTTEDAR
Тема [GENERAL] GENERAL - [How to check if the array contains the element.]
Дата
Msg-id CA+iwz4micr=cjNfikcJJEkMypXfqPwRbKt+1vd28yTUCZ0059Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] GENERAL - [How to check if the array contains theelement.]  (Andreas Kretschmer <andreas@a-kretschmer.de>)
Список pgsql-general
Hello All,

    How do i check if any one element of one array exists in another array.
    Eg:
        array1 = [1,2,3,4]
        array2 = [1,4,5,7]
    Now i expect the result as true even if any one element matches from array2 in array1.

    Any help would be appreciated.

    Thank you.

--
Regards :
Venktesh Guttedar.

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

Предыдущее
От: Ron Ben
Дата:
Сообщение: Re: [GENERAL] How to upgrade PostgreSQL minor version?
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: [GENERAL] GENERAL - [How to check if the array contains theelement.]