SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Problem with joining with table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jayam.cnu
Starting Member

India
45 Posts

Posted - 03/18/2012 :  08:53:07  Show Profile  Reply with Quote
Hi ...,
i have a problem with one query . .. the details are
for this query i prepared the query using 4 table using join.
but the problem with in these 4 table .. one table is taking time execute . if i remove join to that table result is giving fast.

list of activities i have tested.
i have posted that table data into new temp table and created indexes for respective columns which is using in the join statement.




Sreenivasulu.p,
Mail ID: sreenivas.puliverthi@gmail.com

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 03/18/2012 :  17:11:05  Show Profile  Reply with Quote
whats the size of table? is it containing huge dataset? also are the indexes on right columns? check the query execution plan and see if indexes are getting applied

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

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000