i would need to implement a LIMIT equivalent (from mysql) to MSSQL. I have found many topics here that answer this issue, but all require you to order by a specific column. I need to do this without having to order the table because my code is going through many tables automatically so the table structure/column names change from table to table and i dont know what table can be used to order properly.
the reason for this is that i am processing a HUGE table in vb.net and adapter.Fill(ds_values)
causes to go out of memory so i would need to process the table in chunks of 1000 rows at the time..
Any help appreciated.
THanks