Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Outer Join Between Dimension tables

This is a discussion on Outer Join Between Dimension tables within the Data Warehousing forums, part of the Databases category; I need to generate the report in which there outer join should come between the dimension tables in the SQL? Suggest me solution without using logical views...

Go Back   Geeks Talk > Databases > Data Warehousing
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Data Warehousing Data Warehousing

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2009
Junior Member
 
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Himanshu_sh is on a distinguished road
Outer Join Between Dimension tables

I need to generate the report in which there outer join should come between the dimension tables in the SQL?

Suggest me solution without using logical views
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-06-2009
Junior Member
 
Join Date: Mar 2009
Location: Pune
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
tgmurugan is on a distinguished road
Re: Outer Join Between Dimension tables

Hi, you can practice the following queries to ore abt outer joins. Outer join - method of retreiving selected rows from one table that doesn't match rows with the other table. Ex: consider a & b two tables select eno, ename, a.dno, dname from a,b where a.dno=b.dno; output: eno ename dno dname 100 john 10 accounts 101 michael 20 sales 30 production 40 purchase in outer join 2 types r there: left outer join & right outer join ex: leftouter join select eno, ename, a.dno, dname from a,b where a.dno(+)=b.dno; display all the rows from "table a". Output: eno ename dno dname 100 john 10 accounts 101 michael 20 sales 102 anni 20 sales 103 sonia 105 mann ex: right outer join select eno, ename, a.dno, dname from a,b where a.dno=(+)b.dno; display all the rows from "table b". Output: eno ename dno dname 100 john 10 accounts 101 michael 20 sales 102 anni 20 sales 30 production 40 purchase
Reply With Quote
Reply

  Geeks Talk > Databases > Data Warehousing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
difference between Union All and full outer join bvani MY SQL 5 10-23-2008 04:29 PM
What is the difference between self join and outer join? swapna23 SQL 4 07-17-2008 10:34 AM
SQL Server outer join chitrab SQL Server 3 03-28-2008 03:51 AM
Outer Join Query Example mailtos.ravi SQL 4 03-05-2008 03:34 AM
Writing query with LEFT OUTER JOIN N SRIRAM K Data Warehousing 5 09-03-2007 05:08 AM


All times are GMT -4. The time now is 04:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved