pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to change datatype of a field
3+ messages / 3 participants
[nested] [flat]

* How to change datatype of a field
@ 2002-05-25 06:52 shreedhar <shreedhar@lucidindia.net>
  2002-05-25 07:22 ` Re: How to change datatype of a field Rajesh Kumar Mallah. <mallah@trade-india.com>
  0 siblings, 1 reply; 3+ messages in thread

From: shreedhar @ 2002-05-25 06:52 UTC (permalink / raw)
  To: pgsql-admin

Is there any possibility to change datatype of a field.

regards,
S Baskar

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to change datatype of a field
  2002-05-25 06:52 How to change datatype of a field shreedhar <shreedhar@lucidindia.net>
@ 2002-05-25 07:22 ` Rajesh Kumar Mallah. <mallah@trade-india.com>
  2002-05-26 08:24   ` Re: How to change datatype of a field Jyry Kuukkanen <jyry@neutech.fi>
  0 siblings, 1 reply; 3+ messages in thread

From: Rajesh Kumar Mallah. @ 2002-05-25 07:22 UTC (permalink / raw)
  To: shreedhar <shreedhar@lucidindia.net>; pgsql-admin

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

-- 
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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to change datatype of a field
  2002-05-25 06:52 How to change datatype of a field shreedhar <shreedhar@lucidindia.net>
  2002-05-25 07:22 ` Re: How to change datatype of a field Rajesh Kumar Mallah. <mallah@trade-india.com>
@ 2002-05-26 08:24   ` Jyry Kuukkanen <jyry@neutech.fi>
  0 siblings, 0 replies; 3+ messages in thread

From: Jyry Kuukkanen @ 2002-05-26 08:24 UTC (permalink / raw)
  To: Rajesh Kumar Mallah. <mallah@trade-india.com>; +Cc: shreedhar <shreedhar@lucidindia.net>; pgsql-admin

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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-05-26 08:24 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-05-25 06:52 How to change datatype of a field shreedhar <shreedhar@lucidindia.net>
2002-05-25 07:22 ` Rajesh Kumar Mallah. <mallah@trade-india.com>
2002-05-26 08:24   ` Jyry Kuukkanen <jyry@neutech.fi>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox