pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Abdul Wahab Dahalan <wahab@mimos.my>
To: pgsql-sql@postgresql.org
Subject: select column from table
Date: Mon, 30 Jun 2003 16:29:17 +0800
Message-ID: <3EFFF4DD.4060501@mimos.my> (raw)

Hi everybody!

I just want to know is there a way in SQL command that can handle column 
selection?.
The case is :
If I've a table with 10 columns and I want to select 8 of them without 
rewrite the columns/fields name in the SQL query?
eg : Current SQL query is :- Select a,b,c,d,e,f,g,h from abctable; - 
greps 8 columns
       Can SQL do something like Select * from abctable without i,j ? - 
greps all 8 columns?

Thanks.




view thread (2+ messages)  latest in thread

Message-ID: <3EFFF4DD.4060501@mimos.my>
Permalink:  ../3EFFF4DD.4060501@mimos.my/
Also on:    postgresql.org/message-id/3EFFF4DD.4060501@mimos.my

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: wahab@mimos.my
  Subject: Re: select column from table
  In-Reply-To: <3EFFF4DD.4060501@mimos.my>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox