Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f382h3854844 for ; Sat, 7 Apr 2001 22:43:03 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f36BP0806333 for ; Fri, 6 Apr 2001 07:25:00 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f36B4fB60553 for pgsql-sql@postgresql.org; Fri, 6 Apr 2001 07:04:41 -0400 (EDT) (envelope-from news) From: =?iso-8859-1?Q?Hans=2DJ=FCrgen=20Sch=F6nig?= X-Newsgroups: comp.databases.postgresql.sql Subject: Casting numeric to text Date: Fri, 06 Apr 2001 13:08:22 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 7 Message-ID: <3ACDA3A6.B49C0D8C@cybertec.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: scrappy@hub.org X-Mailer: Mozilla 4.76 [de] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en To: pgsql-sql@postgresql.org X-Archive-Number: 200104/105 X-Sequence-Number: 2445 Is there any possibility to cast numeric to text in Postgres 7.0.3? shop=# select cast(price as text) from products; ERROR: Cannot cast type 'numeric' to 'text' Hans