Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

left outer join

Status
Not open for further replies.

Cog8i

IS-IT--Management
Oct 12, 2006
13
CA
Can we use the Left outer join in cognos8?
 
Can you tell me that how to use Left outer join in cognos8(Report studio)?
 
You would need to model it in FM, I'm not sure that you could make it happen on the fly in RS if that's what you mean.
 
Addendum to my previous post...I should have added "unless you want to write your own SQL." Although I wouldn't personally recommend it, you can always bypass FM...
 
well...i'm working on a report in Report studio and i want to use the left outer join...
i'll really appriciate that if you could tell me that how can i use the left outer join...and what is the format...b/c its not accepting the SQL format
 
I'm not sure what to tell you...if you are coding your own sql in the report, you should be able to use whatever the native syntax is for your database. For example, in Oracle you can use the "left_table.column (+)= right_table.column" syntax (or the ANSI "LEFT OUTER JOIN" syntax in newer versions I think I read somewhere). Try copying the sql and running it directly against the database, if that works it should work in RS as well.
 
If you want to do left outer join through CRN, the feature that is closest to it is Master/Detail Relationship.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top