Author Topic: How to join in framework manager  (Read 2378 times)

Offline candy

  • Full Member
  • ***
  • Posts: 8
  • Forum Citizenship: +0/-0
How to join in framework manager
« on: 19 Aug 2008 10:35:09 pm »
HI
How do we join Query Items in framework manager?
i know that we can join it by creating relation ship for both query items.
Suppose if we want to make inner join,right outer join,left outer join how can we do that?

Thanks
candy

Offline imts

  • Full Member
  • ***
  • Posts: 45
  • Forum Citizenship: +1/-0
Re: How to join in framework manager
« Reply #1 on: 20 Aug 2008 06:49:07 am »
You can do that by selecting the different cardinality options provided with the relationships.
Relationships having 0 in them 0..n represents an outer join where as one with 1 Eg. 1..n represents an inner join.

Regards,
Tarun

Offline candy

  • Full Member
  • ***
  • Posts: 8
  • Forum Citizenship: +0/-0
How to join in framework manager
« Reply #2 on: 20 Aug 2008 10:15:04 am »
Hi Tarun

Thanks for you reply.How we can do right and left outer join?You mean we hav to change the cardinality in create relation ship window.or we need to change it in diagrams window.


Thanks
Candy

Offline imts

  • Full Member
  • ***
  • Posts: 45
  • Forum Citizenship: +1/-0
Re: How to join in framework manager
« Reply #3 on: 21 Aug 2008 03:39:09 am »
Hi Tarun

Thanks for you reply.How we can do right and left outer join?You mean we hav to change the cardinality in create relation ship window.or we need to change it in diagrams window.


Thanks
Candy

Considering table(or Query Subject) A and another table( or Query Subject) B.
Depending upon the cardinality u select (0..n/1..n) u can see the join created (left/right) in the "Relationship SQL" tab of the "Relationship Definition" window.
And regarding the diagram thingie u asked, well u can change the cardinality either way i.e through the create relationship window or the diagram window.Both with impact the query in the same way.

Regards,
Tarun

Offline candy

  • Full Member
  • ***
  • Posts: 8
  • Forum Citizenship: +0/-0
Re: How to join in framework manager
« Reply #4 on: 21 Aug 2008 10:48:26 am »
Hi Tarun

Thank u so much..............

Offline Arpit Agrawal

  • Arpit Agrawal
  • Community Leader
  • *****
  • Posts: 91
  • Forum Citizenship: +3/-0
  • Have no fear of perfection--you'll never reach it.
    • Infocepts
Re: How to join in framework manager
« Reply #5 on: 14 Jun 2011 05:11:09 am »
You can also write a custom Expression while creating a join which can be usefull at times
Thanks and Best regards,
------------------------------------------------------------
Arpit Agrawal | InfoCepts | www.infocepts.com
------------------------------------------------------------

Offline cognos_guru

  • Senior Member
  • ****
  • Posts: 65
  • Forum Citizenship: +0/-0
Re: How to join in framework manager
« Reply #6 on: 24 Oct 2011 09:20:04 am »
Arpit, any idea how to create an outer join from the join expression window?  I am in report studio and for some reason I can no longer get the join diagram window, only the expression editor.  I need to indicate any outer join from writing the join...