Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 oldest record in the table

Author  Topic 

dtrivedi
Posting Yak Master

153 Posts

Posted - 2010-08-03 : 15:47:51
How would i know which is the oldest record in the table when there are no date columns ?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-08-03 : 15:51:46
If you don't have a date/time or some other column that tells you order (like an identity column), then it's not possible to know which one is oldest.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

dtrivedi
Posting Yak Master

153 Posts

Posted - 2010-08-04 : 13:50:36
ok thanks !
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-08-04 : 13:52:28
You're welcome.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -