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

Home -> Community -> Usenet -> c.d.o.tools -> Re: column name order & insert into tab select

Re: column name order & insert into tab select

From: <jeanch_at_my-deja.com>
Date: 2000/03/03
Message-ID: <89p1ch$rtn$1@nnrp1.deja.com>#1/1

In article <952106021.21825.2.pluto.d4ee154e_at_news.demon.nl>,   "Sybrand Bakker" <postbus_at_sybrandb.demon.nl> wrote:
> That was sheer luck.
> Add 'order by column_position' to your select on all_tab_columns.
>
> Hth,
>

As I posted this I starting playing with different things and discovered that doing
select column_name from all_tab_columns
where table_name = 'tab'
and owner = 'scott'
order by column_id;
works fine;
Many thanks for sparing some time to look into this.

Cheers
JC

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Mar 03 2000 - 00:00:00 CST

Original text of this message

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