Re: find column name that has under score (_)

Поиск
Список
Период
Сортировка
От akp geek
Тема Re: find column name that has under score (_)
Дата
Msg-id AANLkTimDkJX3iHuisXkRhV9_6MCnJJWtqfuLx+W7UcBg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: find column name that has under score (_)  (Radosław Smogura <rsmogura@softperience.eu>)
Список pgsql-general
thanks . It worked

Regards

On Thu, Feb 17, 2011 at 2:05 PM, Radosław Smogura <rsmogura@softperience.eu> wrote:
akp geek <akpgeek@gmail.com> Thursday 17 February 2011 19:55:46
> Hi all -
>
>           I am trying to write a query to find all the column names in
> database that has a underscore in it (_) example souce_id. I know like will
> not work , if where column_name like '%_%' Can you please help?
>
> Regards
Try SELECT * from pg_attribute where attname not like E'%\\_%' .... - i'm not
familiar with this.

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

Предыдущее
От: Radosław Smogura
Дата:
Сообщение: Re: find column name that has under score (_)
Следующее
От: "David Johnston"
Дата:
Сообщение: Re: find column name that has under score (_)