| От | Jeff Eckermann |
|---|---|
| Тема | Re: Select Non Alpha Contents of a Column |
| Дата | |
| Msg-id | 20031229232145.90507.qmail@web20811.mail.yahoo.com обсуждение исходный текст |
| Ответ на | Select Non Alpha Contents of a Column (Hunter Hillegas <lists@lastonepicked.com>) |
| Список | pgsql-general |
--- Hunter Hillegas <lists@lastonepicked.com> wrote: > Is there a way to select all rows where a certain > column starts with > non-alpha characters? > > I would like to select all the rows that don't start > with letters. > > Possible? Regular expressions would do what you want, e.g. "select * from mytable where myfield !~ '^[a-zA-Z]';" Look under "pattern matching" in the "functions and operators" section of the manual (I think, working from memory). __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера