Re: conversion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nathan Suderman" <nathan(at)pollstar(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: conversion
Date: 2000-12-12 18:00:23
Message-ID: 2347.976644023@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Nathan Suderman" <nathan(at)pollstar(dot)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

In response to

  • conversion at 2000-12-07 21:16:47 from Nathan Suderman

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2000-12-12 18:06:06 Re: help with referential integrity
Previous Message Fernan Aguero 2000-12-12 17:59:06 Re: Large files on linux