Re: Changing Data Types

From: Mike Frost <m_frost2010(at)hotmail(dot)com>
To: Thom Brown <thom(at)linux(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:47:40
Message-ID: DUB127-W553FA0F762F217A9CE09BF82540@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

From: thom(at)linux(dot)com
Date: Mon, 7 Sep 2015 11:38:59 +0100
Subject: Re: [NOVICE] Changing Data Types
To: m_frost2010(at)hotmail(dot)com
CC: pgsql-novice(at)postgresql(dot)org

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

-------------------

Thanks guys!

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Keith Fisher 2015-09-10 13:22:13 PostgreSQL, JDBC and BObj
Previous Message Thom Brown 2015-09-07 10:38:59 Re: Changing Data Types