Luis A. Zevallos Cárdenas escribió:

> select attrelid, attname, attnum from pg_attribute where attname like
> 'pais%' and attrelid = 18371

> Aqui te dice la posicion de las columnas si quieres cambiar el orden solo
> tienes que hacer un update a esta tabla.....pero con cuidado ya que es una
> tabla muy importante para postgresql

Obviamente esto sólo se puede hacer si la tabla está vacía, y como dice
Jaime si no hay FKs u otras restricciones, etc.

-- 
Alvaro Herrera                          Developer, http://www.PostgreSQL.org/
"XML!" Exclaimed C++.  "What are you doing here? You're not a programming
language."
"Tell that to the people who use me," said XML.
--
TIP 10: no uses HTML en tu pregunta, seguro que quien responda no podrá leerlo

Responder a