Re: Equivalent to rowid in Oracle...
From: Greg Linwood (g_linwoodQhotmail.com)
Date: 03/21/04
- Next message: Todd: "SQL 2000 migration"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Help - Very Odd Restore Issues"
- In reply to: Tenaya: "Re: Equivalent to rowid in Oracle..."
- Next in thread: Tenaya: "Re: Equivalent to rowid in Oracle..."
- Reply: Tenaya: "Re: Equivalent to rowid in Oracle..."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Mar 2004 10:33:08 +1100
RowId isnt just for physical rows - can also be used in a select statement
which is arguably its most common use in plsql. In tsql, you've got to
either use temp tables with identity or inefficient sql to achieve the same
thing. It's certainly something I wish tsql had..
Regards,
Greg Linwood
SQL Server MVP
"Tenaya" <ct@ct.ct> wrote in message
news:uiaqg52DEHA.3064@tk2msftngp13.phx.gbl...
> Greg,
>
> I believe there is a significant difference between the SQL Server
Timestamp
> (aka RowVersion) data type and the Oracle RowID property.
>
> As I understand it, and I am willing to be corrected by anyone with
superior
> knowledge, the Oracle RowID property is an internal value that allows
Oracle
> to quickly locate the physical location of a row. As such, it is
independent
> of the values contained within the row itself. In other words, one can
issue
> multiple UPDATEs to an Oracle row, and the RowID will not change.
>
> As I'm confident you are aware, an UPDATE to a row containing the
Timestamp
> datatype changes the value of the Timestamp column.
>
> Chief Tenaya
>
>
> "Jaxon" <GregoryAJacksonN0SPAM@hotmail.com> wrote in message
> news:eencRb2DEHA.1240@TK2MSFTNGP10.phx.gbl...
> > SQL Server does support a RowVersion DataType. Most often referred to as
> > TimeStamp.
> >
> > I dont know JACK about Oracle, but I believe this is what you are
looking
> > for.
> >
> >
> > cheers,
> >
> >
> > Greg Jackson
> > PDX, Oregon
> >
> >
>
>
- Next message: Todd: "SQL 2000 migration"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Help - Very Odd Restore Issues"
- In reply to: Tenaya: "Re: Equivalent to rowid in Oracle..."
- Next in thread: Tenaya: "Re: Equivalent to rowid in Oracle..."
- Reply: Tenaya: "Re: Equivalent to rowid in Oracle..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|