|
View previous topic :: View next topic
|
| Author |
Message |
vik775
New User
Joined: 10 Jun 2006 Posts: 1
|
|
|
|
I want run a query from SPUFI to select only 10 records instead of thousands that it will return. Is there a row limit or Stopaft in DB2 SQL?
Thanks. |
|
| Back to top |
|
 |
DavidatK
Active Member

Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Last line of your SQL:
FETCH FIRST 10 ROWS ONLY
Dave |
|
| Back to top |
|
 |
anamikak
New User
Joined: 10 May 2006 Posts: 64 Location: Singapore
|
|
|
|
| In SPUFI option you can specify the rows to be 10 or whatever number instead of the default mentioned there. |
|
| Back to top |
|
 |
|
|