From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Position of a field |
Date: | 2007-02-27 12:17:39 |
Message-ID: | 20070227121737.GD14945@a-kretschmer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support pgsql-sql |
am Tue, dem 27.02.2007, um 8:51:27 -0300 mailte Ezequias Rodrigues da Rocha folgendes:
> Hi list,
>
> I just would like to know if it is possible to change the position of
> a field in a table. I am seen in pgAdmin3 that there is a position but
> on th is application I can't see if there is a place to do that.
Why do you want to do this? You can define the order of the fields in
the SELECT-Statement. Other way: you can create a VIEW. And another way:
you can recreate the table (create new_table as select <cols in desired
order> from old_table, drop old_table, rename new_tabel to old_table)
Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
From | Date | Subject | |
---|---|---|---|
Next Message | Ezequias Rodrigues da Rocha | 2007-02-27 12:48:57 | Re: Position of a field |
Previous Message | Ezequias Rodrigues da Rocha | 2007-02-27 11:51:27 | Position of a field |
From | Date | Subject | |
---|---|---|---|
Next Message | Ezequias Rodrigues da Rocha | 2007-02-27 12:48:57 | Re: Position of a field |
Previous Message | Ezequias Rodrigues da Rocha | 2007-02-27 11:51:27 | Position of a field |