Posted on: 8/4/2012 11:08:29 AM | Views : 897

Hi i have a page that has a combo box that display Table View names found on the database. Now some of this views contain millions of rows. Some query takes almost 5 minutes to finish. I need a way to make the selection of the data partially.
 
Something like:
Select Top 1000 from table_view where last primarykey='5' but the problem is select query is dynamic and contain any table...so any help?
...

Go to the complete details ...