Answer the question
In order to leave comments, you need to log in
How to swap fields in a postgreSQL table?
How can I swap fields in a PostgreSQL database?
I use:
1. phpPgAdmin.
2.PgAdmin.
What for? - it so happened that I forgot the id field and created it after creating the table and now it is at the very bottom ..
This is not convenient.
Is it possible to change the position of the field somehow using standard methods?
Answer the question
In order to leave comments, you need to log in
recreate the table on a new one or create a view with the desired position of the columns.
both methods are described here .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question