Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Devaka Cooray
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Jeanne Boyarsky
Tim Cooke
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Mikalai Zaikin
Carey Brown
Bartenders:
Forum:
JDBC and Relational Databases
JDBC and Sybase
Chuck Cabrera
Greenhorn
Posts: 9
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I want to use a Sybase set option, SET ROWCOUNT 50. I want to use this for only 1 query. How do I use
JDBC
to accomplish this? I tried using rs.setFetchSize(50) and it does not seem to work. I am using weblogic connected to Sybase.
Thanks
Bosun Bello
Ranch Hand
Posts: 1514
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Even thought that function exists for Sybase, the driver you are using to access the database may not support it.
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley
brevity is the soul of wit - shakepeare. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
accesing a database
How to get desired no of rows from a select stmt
sybase related jdbc question
Java and Sybase
How to handle RAISEERROR in Sybase using JDBC
More...