varchar => int

Поиск
Список
Период
Сортировка
От Mitch Vincent
Тема varchar => int
Дата
Msg-id 01b101c088b5$8dfb7920$0200000a@windows
обсуждение исходный текст
Ответы Re: varchar => int
Список pgsql-general
Well, here I am trying to do a range search on a varchar field (though it
has numbers in it...)..

I can't cast varchar to int (according to the error I'm getting..), any
ideas on how I can accomplish a ranged search on a varchar field (taking
into acount the value of the numbers, not the character's ascii code)?

I know. It's a messed up thing to do.. I didn't design these tables, I think
it's like that so the zip codes (what's stored in this table) could contain
dashes... Now they want to search it with a range.... *sigh*..

Thanks for any ideas..

-Mitch


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

Предыдущее
От: Frank Joerdens
Дата:
Сообщение: Setting logfile location with pg_ctl and postgres.conf
Следующее
От: Martin Leja
Дата:
Сообщение: someone please explain this regex behaviour