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

Limit on number of rows returned Version 6 2

Status
Not open for further replies.

cdlvj

MIS
Nov 18, 2003
677
US
Is there a way to limit the number of rows returned on a Select. This is Version 6.1.

I have Stored Procedures coded, and have set the Dynamic Result set in the DDL. It does not work.

Thanks in advance.
 
Cdlvj,
Can't remember if this is available in 6.1, but try the FETCH FIRST 5 ROW ONLY option on the SELECT statement
Marc
 
Mark,

your solution is only available in Version 7 onwards.

Cheers
Greg
 
Cheers Greg,
Looks as if it will have to be done programmatically then.
 
Many thanks for the replies. Will be upgrading to 7 here shortly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top