Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Fastest way to selection

Author  Topic 

atulbharadwaj
Starting Member

11 Posts

Posted - 2010-01-04 : 08:13:04
Hi all, i am using a table which is having millions of records.
i can't apply index on table so can some one tell me that how can i select million of records in seconds while i m running query on live server

now it is taking more then one minute to select 1 million records



atul

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2010-01-04 : 09:00:16
You can do the aggregation on the server, instead of at the client side.



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-01-05 : 07:37:45
Why do you need millions of rows at a time?
Also search for Pagination

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-01-05 : 07:47:21
See also here:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=137857


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -