From shreedhar@lucidindia.net Sat May 25 06:58:30 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id C3306475C44 for ; Sat, 25 May 2002 02:58:30 -0400 (EDT) Received: from lucidindia.net (unknown [61.11.73.194]) by postgresql.org (Postfix) with ESMTP id DA839475F7C for ; Sat, 25 May 2002 02:50:56 -0400 (EDT) Received: from a4005 ([192.168.1.18]) by lucidindia.net (8.11.6/8.11.6) with SMTP id g4P6qoY15459 for ; Sat, 25 May 2002 12:22:50 +0530 Message-ID: <006501c203b8$c6f44c00$1201a8c0@a4005> From: "shreedhar" To: "pgsql" Subject: How to change datatype of a field Date: Sat, 25 May 2002 12:22:45 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0062_01C203E6.E00F3690" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200205/205 X-Sequence-Number: 4380 This is a multi-part message in MIME format. ------=_NextPart_000_0062_01C203E6.E00F3690 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is there any possibility to change datatype of a field. regards, S Baskar ------=_NextPart_000_0062_01C203E6.E00F3690 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Is there any possibility to change datatyp= e of a=20 field.
 
regards,
S Baskar
------=_NextPart_000_0062_01C203E6.E00F3690-- From mallah@trade-india.com Sat May 25 07:22:58 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 35C8C475999 for ; Sat, 25 May 2002 03:22:58 -0400 (EDT) Received: from mail-relay.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 951D747585D for ; Sat, 25 May 2002 03:22:49 -0400 (EDT) Received: (qmail 1138 invoked from network); 25 May 2002 07:16:48 -0000 Received: from system29.trade-india-local.com (HELO server) (192.168.0.29) by ptil-236-129-del.primus-india.net with SMTP; 25 May 2002 07:16:48 -0000 Content-Type: text/plain; charset="iso-8859-1" From: "Rajesh Kumar Mallah." Organization: Infocom Network Limited. To: "shreedhar" , "pgsql" Subject: Re: How to change datatype of a field Date: Sat, 25 May 2002 12:52:45 +0530 X-Mailer: KMail [version 1.4] References: <006501c203b8$c6f44c00$1201a8c0@a4005> In-Reply-To: <006501c203b8$c6f44c00$1201a8c0@a4005> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205251252.45418.mallah@trade-india.com> X-Archive-Number: 200205/206 X-Sequence-Number: 4381 Hi Sreedhar, There are no commands as such but=20 combination of "CREATE TABLE AS SELECT f1,f2 from TAB" and CAST might prove useful in certain cases regds mallah. On Saturday 25 May 2002 12:22 pm, shreedhar wrote: > Is there any possibility to change datatype of a field. > > regards, > S Baskar --=20 Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace. From jyry@neutech.fi Sun May 26 08:24:21 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 3F572475AB1 for ; Sun, 26 May 2002 04:24:21 -0400 (EDT) Received: from cyplex.neutech.fi (webserver1.neutech.fi [194.100.130.123]) by postgresql.org (Postfix) with SMTP id B462E475A7A for ; Sun, 26 May 2002 04:24:19 -0400 (EDT) Received: (qmail 8879 invoked from network); 26 May 2002 08:24:20 -0000 Received: from cyclone.neutech.fi (qmailr@194.100.130.66) by cyplex.neutech.fi with SMTP; 26 May 2002 08:24:20 -0000 Received: (qmail 20323 invoked by uid 7003); 26 May 2002 08:24:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 26 May 2002 08:24:19 -0000 Date: Sun, 26 May 2002 11:24:19 +0300 (EEST) From: Jyry Kuukkanen To: "Rajesh Kumar Mallah." Cc: shreedhar , pgsql Subject: Re: How to change datatype of a field In-Reply-To: <200205251252.45418.mallah@trade-india.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200205/215 X-Sequence-Number: 4390 On Sat, 25 May 2002, Rajesh Kumar Mallah. wrote: > Hi Sreedhar, > > There are no commands as such but > combination of "CREATE TABLE AS SELECT f1,f2 from TAB" > and CAST might prove useful in certain cases > > > regds > mallah. > > On Saturday 25 May 2002 12:22 pm, shreedhar wrote: > > Is there any possibility to change datatype of a field. > > > > regards, > > S Baskar > You may also try installing phpPgAdmin (search http://freshmeat.org for it) as it automates create/select/insert to drop a column and does a whole lot more. Cheers, --Jyry C:-( C:-/ C========8-O C8-/ C:-( M. Schumacher will win "Monaco F1 2002". He will be second, too. And probably third.