Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: displaying non existent dummy columns using select query

Re: displaying non existent dummy columns using select query

From: Alex Filonov <afilonov_at_pro-ns.net>
Date: Sat, 06 Jan 2001 03:22:05 GMT
Message-ID: <93630q$pva$1@nnrp1.deja.com>

select column1, column2, column3, null dummy1, null dummy2 from yourtable

In article <935qip$j7v$1_at_nnrp1.deja.com>,   aminocha_at_unibiz.com wrote:
> Hi ,
> I am trying to query a table with a select statement.The table has 3
> columns in it, but I want the query to display 5 columns. The values
> for the non existent columns need to be null and the heading should
 be
> Dummy1 and dummy2.
>
> Does anybody have a clue how I can accompalish this task.
>
> Thanks
> Anurag
>
> Sent via Deja.com
> http://www.deja.com/
>

Sent via Deja.com
http://www.deja.com/ Received on Fri Jan 05 2001 - 21:22:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US