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
 join sql server table with a local table

Author  Topic 

cni
Starting Member

1 Post

Posted - 2010-05-27 : 15:43:59
I need to join sql server table with a local table on my PC. The table on sql server is huge ( about 15 millons records ). local table is small ( about 500 K records ). I grab that big table on PC in SAS and did join. Is there any way to speed it up? Do you have sample code that I can follow easily? Thanks!

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-05-27 : 21:14:59
probably you've add proper indexes on the table. Have a look at execution plan for query and determine the table scans to add proper indexes.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -