View Single Post

   
  #8 (permalink)  
Old 02-29-2008, 06:41 PM
David Portas
 
Posts: n/a
Default Re: Getting list of recently added IDENTITY items

Erland Sommarskog wrote:
> That is about as useful as saying "this is a good car, but you should
> not drive it at night". If databases would only include data that
> have natural keys, there wouldn't be much data in them.
>


You said "data" so you could be right. If you'd said "information"
you'd be wrong. Here's an analogy. If I have two copies of "Inside SQL
Server" on my bookshelf do I have more information than if I have one
copy of that book? Now if I write 1 on the cover of the first book and
2 on the cover of the second, do I have any more information? So should
I spend money and storage space on two books or one? The smart money is
invested in information not in data.

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/m...S,SQL.90).aspx
--

Reply With Quote