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 2000 Forums
 SQL Server Development (2000)
 getting last row query

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-12-22 : 07:49:14
durgaprasad writes " hello Friends,

Iam Durga prasad, could help me to retrieve the last row from a table , order is not mentioned with out getting the order , we have to get the last from use present wea re using


thanks,
durga"

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-12-22 : 07:58:48
Please define "last row".


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-12-22 : 08:34:14

Without any order, you cant get last row. It will be random row

Select top 1 columns from table

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -