Re: What is a ROW-ID

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 03/23/04


Date: Tue, 23 Mar 2004 09:28:51 +0100

Just to (hopefully) emphasize David's point a bit:

When Edgar Codd wrote down the 12 fundamental rules for a relational
database system, one of the most fundamental is that the DBMS should not
expose internal/physical attributes of the data. This is what David refers
to as "Physical Data Independence".

Since this is a very basic concept, most decent books about relational
database systems should include comments on this, if you want to dig into
the "why" topic. Also, I'm sure that there are plenty of info on the net.
Note that the "theoretic" aspects of relational systems isn't debated as
much today as one, two or three decades ago, so more elaborate information
is often found in older books or more fundamental books.

Here's a link to some real fundamental stuff:
http://palslib.com/Fundamentals/The_Relational_Model.html

-- 
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
"Abhishek Srivastava" <abhishek-srivastava@nospam.net> wrote in message
news:%233gjBiKEEHA.700@TK2MSFTNGP09.phx.gbl...
> Thanks for the clarification. In a general sense every database has the
> concept of an identity key (oracle calls it sequence) However, why do
> they have this, why not use the row id itself. [I learnt from a friend
> that almost all databases have concept of Row ID.]
>
> Do all databases hide the Row ID from the user? Is there a reason for
> hiding the Row ID from the user?
>
> Thanks for your help and patience.
>
> regards,
> Abhishek.
>
> David Portas wrote:
>
> > SQL Server doesn't expose physical row identifiers to the user so there
is
> > no "Row ID" in SQL Server. The IDENTITY property is a method of creating
a
> > system-generated surrogate key.
> >


Relevant Pages

  • Re: Getting started in IT.
    ... Have ordered both books. ... MCITP SQL Server 2005 Database Administration All-in-One Exam Guide ...
    (microsoft.public.cert.mcdba)
  • Re: My Book is Incomplete Regarding SQL Commands ;-(
    ... I've spent enough $$$ on books presently and they were all ... Create a Connection object and pass in a ConnectionString to address ... manage the database table you reference. ... Hitchhiker's Guide to Visual Studio and SQL Server ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Whats My Password?
    ... To create a SQLServer database using Server Explorer in VS2005: ... This displays the Create New SQL Server Database dialog. ... books you have used as well. ... Specifically, the database connection stuff. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: smo class filegrowthtype bug?
    ... I would check Books Online (it's available for free download from Microsoft ... Once you generate a script to create the database, ... Hitchhiker's Guide to Visual Studio and SQL Server ...
    (microsoft.public.sqlserver.msde)
  • Re: Shrinking a SQL Server 6.5 db
    ... references for SQL Server 6.5. ... SHRINKDB to shrink his database? ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)