Re: Changing Data Types

From: Thom Brown <thom(at)linux(dot)com>
To: Mike Frost <m_frost2010(at)hotmail(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Changing Data Types
Date: 2015-09-07 10:38:59
Message-ID: CAA-aLv4dacCQ9JDOkxav_7tRM08wFA6eef-SsoOY1tyA=Zn4Wg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 7 September 2015 at 11:33, Mike Frost <m_frost2010(at)hotmail(dot)com> wrote:

> thanks man!
>
> so the syntax in [fielname]::[datatype]?
>

(note that emails to these mailing lists should be in plain text and
responses below rather than above)

Yes, the section on type casting explains how it works:
http://www.postgresql.org/docs/9.5/static/sql-expressions.html#SQL-SYNTAX-TYPE-CASTS

Thom

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Mike Frost 2015-09-07 10:47:40 Re: Changing Data Types
Previous Message James David Smith 2015-09-07 10:35:16 Re: Changing Data Types