I'm working on a pretty large table, (800k records and climbing) and I'd like to filter said table. The thing is, the table is stored in SQL Server. So, I was wondering, would a
SELECT * FROM table WHERE condition1=true
query be faster than loading the table to a typed DataSet and using DataRow.Find() then sending all those to another DataTable?
I'm guessing yes, but I'll ask anyway.
As long as your SQL server is not paging because of RAM starvation the SQL Server should always be faster than loading the whole table via network and then filtering locally...
You should definitely do it in SQL Server because:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With