Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'last' function for Oracle pass-though

Status
Not open for further replies.

dan626mcl2

Technical User
Jul 17, 2003
2
0
0
US
Can anyone give me an SQL example of how I can pull the last row of data in an Oracle pass-though?

thx
 
In SQL,usually we make use of order by some column name and put desc at the end.
ex.

select top 1 * from MyTable order by col1 desc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top