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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

First Row in a table 1

Status
Not open for further replies.

tnrao

Programmer
Dec 2, 2002
2
CA
Hi
How to fetch only first record from a table in DB2 version 6.0? Regds--->Tnrao
 
you can try:
select 'Colums' from Table [order by ...] fetch first 1 rows only

Thierry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top