Red Gate forums :: View topic - Join conditions order option
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 5 EAP
SQL Prompt 5 EAP forum

Join conditions order option

Search in SQL Prompt 5 EAP forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
cussuol



Joined: 25 Aug 2005
Posts: 10

PostPosted: Thu Oct 28, 2010 11:13 pm    Post subject: Join conditions order option Reply with quote

Take the following query:

Code:
SELECT
    *
  FROM
    Child
  JOIN
    Parent
    ON ...


Sql Prompt suggests me:
Code:
... Child.Cod_Parent = Parent.Cod_Parent


But i'd like the join condition were like this:
Code:
... Parent.Cod_Parent = Child.Cod_Parent


Of course, i know they both work as well. But i use to ever list the Parent table before. That's just the way my head works....

Thank you.
Back to top
View user's profile Send private message
emoreau



Joined: 23 May 2006
Posts: 38

PostPosted: Tue Nov 02, 2010 1:08 pm    Post subject: Reply with quote

+1
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group