Re: pg_tables query issue

Поиск
Список
Период
Сортировка
От Lennin Caro
Тема Re: pg_tables query issue
Дата
Msg-id 482405.41252.qm@web59516.mail.ac4.yahoo.com
обсуждение исходный текст
Ответ на pg_tables query issue  (kevin kempter <kevin@kevinkempterllc.com>)
Список pgsql-admin
Hi List;

I've found that if I run this select (below) I get a table returned
named 'dma' een though I specified like 'dm_%' :


select tablename from pg_tables where tablename like 'dm_%';


           tablename
------------------------------
  dm_service_provider_dim
  dma


Am I missing something or is this a bug ?


Thanks in advance..


/Kevin





>> the '_' character is a especial character like the '%'.... Try use this

>>select * from table where name ilike('dm\\_%')







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

Предыдущее
От: "M. Sederqvist"
Дата:
Сообщение: PostgreSQL web administration
Следующее
От: "JGuillaume (ioguix) de Rorthais"
Дата:
Сообщение: Re: PostgreSQL web administration