I have a table that has 500K rows (10 fields) on SQL Server 2008. I need to query them all. please dont ask why should i need to query them all as that is outside of my question. my question is that my coldfusion server freezes everytime i run the coldfusion page that has a query in it.
<cfquery name='' datasource=''>
SELECT one,two,three,four,five,six,seve,eight,nine,ten
FROM tblname;
</cfquery>
what bugs me is that the same condition (500K rows, 10columns) of a table on my MySQL server only needs about 20secs to finish the query on the same coldfusion page.
any tips?