| From: | "Jaime Casanova" <systemguards(at)gmail(dot)com> |
|---|---|
| To: | "Andres Duque" <raulandresduque(at)hotmail(dot)com> |
| Cc: | Mario <gonzalemario(at)gmail(dot)com>, "dAnkO Vera" <dankovera(at)gmail(dot)com>, pgsql-es-ayuda(at)postgresql(dot)org |
| Subject: | Re: cambiar orden de columnas de una tabla.? |
| Date: | 2007-01-11 12:26:01 |
| Message-ID: | c2d9e70e0701110426k762fac36i42d92e02aefe7c0b@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
On 1/10/07, Andres Duque <raulandresduque(at)hotmail(dot)com> wrote:
> No hay forma de hacerlo "automáticamente".
>
> Lo que yo hago en estos casos es utilizar una tabla temporal para almacenar
> los datos, recrear la tabla con el nuevo orden e insertar los datos a partir
> de la tabla temporal.
>
o creas una vista en el que los campos esten en el orden que quieres...
--
Atentamente,
Jaime Casanova
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Felipe Amezquita | 2007-01-11 12:58:59 | internacionales |
| Previous Message | Sonia Malave | 2007-01-11 12:17:40 | Index! |