Search Postgresql Archives
selecting all columns but one
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
:
pgsql-general@xxxxxxxxxxxxxx
Subject
: selecting all columns but one
From
: blackwater dev <
blackwaterdev@xxxxxxxxx
>
Date
: Tue, 28 Jul 2009 09:12:08 -0400
I have a table with a lot of columns. One of the columns I want to alias so have a query of:
select *, column as newname from mytable.
The problem is I now have column and newname in the results. I don't want to select column by column. How can I do a select * but omit one?
Thanks!
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Follow-Ups
:
Re: selecting all columns but one
From:
A. Kretschmer
Re: selecting all columns but one
From:
Thomas Kellerer
Re: selecting all columns but one
From:
Merlin Moncure
Prev by Date:
Upgrading from 8.3 to 8.4 and Integer datatimes?
Next by Date:
Re: Relational Algebra and Aggregate Functions
Previous by thread:
Upgrading from 8.3 to 8.4 and Integer datatimes?
Next by thread:
Re: selecting all columns but one
Index(es):
Date
Thread
[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]