Improve company productivity with a Business Account.Sign Up

x
?
Solved

Missing Join Predicate SQL2005

Posted on 2006-11-03
8
Medium Priority
?
948 Views
Last Modified: 2008-01-09
I'm getting a Missing Join Predicate (W2K3/SP1 SQL2005 ) in a trace generated by the system (C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG), how to find out what querry is causing it?
0
Comment
Question by:feiza
  • 2
  • 2
5 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 17872406
Did you try running the trace ?
0
 

Author Comment

by:feiza
ID: 17873860
Yes and nothing have show up so far, but in other systems we have the same issue, auto generated traces with Missing Join Predicate
0
 
LVL 28

Expert Comment

by:imran_fast
ID: 17875892
Missing Join Predicate: Indicates whether or not the query in question has a join predicate. If not, this can cause the Query Optimizer to produce a less than optimized query plan. To fix this, add a join predicate.

Run sql profiler to identify this query.
0
 

Author Comment

by:feiza
ID: 17885737
I have ran SQL profiler for hours and nothing show up in this trace, now it show up in a trace than I presume is been autogenerated by SQL, any ideas?...
thanks
0
 
LVL 28

Accepted Solution

by:
imran_fast earned 2000 total points
ID: 17887195
hi feiza,
Its more like a warning ..
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question