Search Postgresql Archives

Re: Inserting a new column in between.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi RPK

My suggestion would be to create a view which presents the columns as you wish.

eg

CREATE OR REPLACE VIEW tableView AS
SELECT a, b, c
  FROM table

Then when you add add a new column, just adjust the view as required.

Cheers
Noel

RPK wrote:
Andreas,

I am talking about inserting a field or changing their order in the
structure itself. In MS Access and SQL Server we have this facility. Some
times I need to shift the less important field to the last so that when I
query using:
Postgres does not allow such ordering as stated in the previous replies.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux