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: A RowId in Oracle 8i

Re: A RowId in Oracle 8i

From: Mike Krolewski <mkrolewski_at_rii.com>
Date: Fri, 02 Feb 2001 17:49:24 GMT
Message-ID: <95erv0$adk$1@nnrp1.deja.com>

In article <95eilr$j87$1_at_pheidippides.axion.bt.co.uk>,   bynia.doyle_at_bt.com (Bynia Doyle) wrote:
> Hi,
> In 7.3.4 I I used Rowids in a statement that was passed to dbms_sql
 as as
> follows:
> Delete from Table where Rowid in (Rowid1, Rowid2,..., Rowidn).
>
> The (Rowid1, Rowid2,..., Rowidn) was stored in a variable of type
 VARCHAR2
> and was construted in a loop.
>
> When I'm attempting to do use the same approach in Oracle 8.1.6 I get
> ORA-01410: invalid ROWID
>
> I gather that the data type of RowId is not the same as it was in
 7.3.4 - any
> ideas on the changes to the statement to get it to work?
>
> Thanks,
> Bynia.
>
> Bynia.
>
> bynia.doyle_at_bt.com
>
> ** All possible disclaimers apply **
>

Yes the rowid has changes. Read the 8i Concepts manual, chapter 12 on rowid. There are 2 rowid type ( extended rowid is 18 characters, restricted rowid is 16). There is a package DBMS_ROWID for converting back and forth.

--
Michael Krolewski
Rosetta Inpharmatics
mkrolewski_at_rii.com
              Usual disclaimers


Sent via Deja.com
http://www.deja.com/
Received on Fri Feb 02 2001 - 11:49:24 CST

Original text of this message

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