Re: Select *, rowid ???

From: Robert C. Nix <nix_at_gate.net>
Date: 1995/12/16
Message-ID: <30D39220.5472_at_gate.net>#1/1


Yogen Sanghani wrote:
>
> Is there any way of selecting all the columns of a table plus the rowid
> without explicitly specifying the column names? Most of my processing
> happen in PL/SQL stored procedure, and I would like to keep the procedure
> loosely coupled with the table structure by not having to specify all
> the column names. But my processing would also benefit from using
> rowids as it is a two pass process. I tried using "Select *, rowid...."
> and "Select rowid, * ....", but neither worked. Any ideas?
>
> Oracle Server version 7.2.2...
> PL/SQL Version 2.2
>
> Any suggestions greatly appreciated.
>
> -----
> Yogen.

select tablename.*, rowid
  from tablename
/

-- 
______________________
Robert C. nix_at_gate.net
Received on Sat Dec 16 1995 - 00:00:00 CET

Original text of this message