I am not so familiar with Oracle as I would like to be. I have 250 thousand records, and I want to display them at 100 per page. Currently, I have one stored procedure that extracts all a quarter of a million records into a data set using a data adapter and data set, as well as the dataadapter.Fill method (data set) from the results of the stored procedure. If I have "Page Number" and "Number of records per page" as integer values ββthat I can pass as parameters, that would be the best way to return this particular section. Say, if I pass 10 as the page number, and 120 as the number of pages, from the select clause this will give me the 1880s to the 1200th, or something like that, my math in my head might be turned off.
I do this in .NET with C #, I thought that it doesnβt matter, if I can do it correctly on the SQL side, then I should be fine.
Update: I was able to use Brian's suggestion and it works great. I would like to work on some optimization, but the pages appear within 4-5 seconds, and not in a minute, and my paging control was able to integrate very well with my new stored procedures.
sql oracle stored-procedures
stephenbayer Oct 27 '08 at 22:37 2008-10-27 22:37
source share