Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

table for inner join Expand / Collapse
Author
Message
Posted Monday, May 13, 2013 3:57 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, September 18, 2014 12:46 PM
Points: 1,776, Visits: 3,222
When I do an inner join of two tables: table 1 and table 2,

does the postion of the table matters ?

I mean on the left or right of the inner join, for example
below, do they make any difference?

table1 inner join table2

or

table2 inner join table1

Post #1452348
Posted Monday, May 13, 2013 4:26 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Yesterday @ 3:49 PM
Points: 39,886, Visits: 36,233
Doesn't matter


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1452351
Posted Monday, May 13, 2013 4:31 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 10:53 PM
Points: 5,383, Visits: 7,456
It'll only matter if you start doing query hint overrides... which you should avoid in 99% of circumstances, so yeah... won't matter.


- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
Post #1452353
Posted Monday, May 13, 2013 4:41 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, September 18, 2014 12:46 PM
Points: 1,776, Visits: 3,222
Thanks!
Post #1452357
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse