943,682 Members | Top Members by Rank

Ad:
  • Oracle Discussion Thread
  • Unsolved
  • Views: 2005
  • Oracle RSS
Oct 12th, 2008
0

How to make query to retrieve first,last,next,Preivius data from databse

Expand Post »
Hi,
Can anyone help me how to retrieve data from table in the following manner.
In my application I have five button namely First,last,next,previous,and Query.
When I will press the query button, it should show me last data that I had feed to the table. When I press first button it should show first entry that I had entered to the table .likewise for the last button. Now after pressing query button, when I press the previous button it should show me data that I had entered through the table before the last entry. Like wise.
Here I am retrieving data from two tables where we have entry no as a common field between them.
Also each table have unique serial no as break no. field.


And my second query is about the connection pooling.
How the connection pooling is achieved throughout the application.
In my current application, I have nearly 150 servlet where I have to make separate connection for each servlet to work with database.
Is it possible to make connection with database in only login servlet and such connection object can I use in remaining servlet so my application becomes more reliable and speedy.
Please help me on this issue as I am looking the same from long time.
Kindly help me on above issue.
Any suggestion is highly appreciated.
Thanks
Harshal
Reputation Points: 8
Solved Threads: 0
Light Poster
guravharsha is offline Offline
42 posts
since Jun 2008
Oct 18th, 2008
0

Re: How to make query to retrieve first,last,next,Preivius data from databse

you need to handle that form your application
Featured Poster
Reputation Points: 665
Solved Threads: 427
Posting Genius
debasisdas is offline Offline
6,406 posts
since Feb 2007
Dec 10th, 2008
0

Re: How to make query to retrieve first,last,next,Preivius data from databse

If your application is developed in forms means,It is very easy to handle......In forms so many pre-defined functions are avaliable to handle all thease things...................
Reputation Points: 10
Solved Threads: 0
Newbie Poster
like_to_learn is offline Offline
9 posts
since Dec 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Oracle Forum Timeline: Deletion of Autonumber
Next Thread in Oracle Forum Timeline: problem list item





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC