aspose file tools*
The moose likes JDBC and the fly likes how can i retrieve 3 rows out of 10 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how can i retrieve 3 rows out of 10 " Watch "how can i retrieve 3 rows out of 10 " New topic
Author

how can i retrieve 3 rows out of 10

saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
hi,

how can i get only 3 rows from 10 rows?
is there any specific query for this to do
?

thanks in advance


A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Did you check the setFetchSize(int rows) method in Resultset. Is that what you want ?


Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i retrieve 3 rows out of 10
 
Similar Threads
two questions about columns in JTable
Edit table content when click button
How to copy from 4 JTextFields to 1 JTextArea
Multiple selection in JTable
Android Pagination, Titlebar, footer