Re: Check if column is substring of another column
От
Richard Huxton
Тема
Re: Check if column is substring of another column
Дата
Msg-id
49782520.2000305@archonet.com
Ответ на
Check if column is substring of another column (Keaton Adams)
Список
Дерево обсуждения
Check if column is substring of another column Keaton Adams <kadams@mxlogic.com>
Re: Check if column is substring of another column Richard Huxton <dev@archonet.com>
Re: Check if column is substring of another column Rodrigo E. De León Plicet <rdeleonp@gmail.com>
Keaton Adams wrote: > PostgreSQL 8.1 question: > > I have two columns. > policyNumber contains a 12-13 varchar string > AllPolicyNumbersIncluded contains one or more 12-13 varchar strings (policy nums) separated by commas Rodrigo has given a direct answer, but you might want to consider either an array of text for AllPolicyNumbersIncluded or better still a join to another table. That will make your queries more natural. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления