Re: conversion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: conversion
Дата
Msg-id 2347.976644023@sss.pgh.pa.us
обсуждение исходный текст
Ответ на conversion  ("Nathan Suderman" <nathan@pollstar.com>)
Список pgsql-general
"Nathan Suderman" <nathan@pollstar.com> writes:
> how can I convert varchar to int?  I can not seem to cast the type
> (::int2) and there are no conversion functions in the docs
> (int(varchar)).

What Postgres version are you using?  This works fine for me in 7.0
and later...

            regards, tom lane

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

Предыдущее
От: Dmitriy Agafonov
Дата:
Сообщение: performance : index selection
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: manuals