But in order for this thing to work I will have to index everything in the table because my order by clause spawns almost every column in table.
and above solution is taking excessively long because it first selects all the rows orders them and then gets first 500 from them. Its useless to me. I...
Hi guys..
I am little new to these forums.
I have a table containing thousands of rows but I only want user to restrict to first 500 rows based on selection criterion. Here is what I am doing currently.
select * from table_name where ... rownum < 500 order by ...
but this thing is not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.