SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSAS


SSAS

Author
Message
maheshkrishnas
maheshkrishnas
SSC Journeyman
SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)

Group: General Forum Members
Points: 89 Visits: 148
Hi,
This is my question can anyone help me to resolve this:-)



1000 rows in the fact table
5 rows in the Geo dimension table
50 rows in the product dimension table
100 rows in the calendar dimension tables
2000 rows in the customer dimension table

When I join fact and geo table what will be the maximum rows
When I join fact and customer table what will be the maximum rows I get
notwhereuareat
notwhereuareat
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 Visits: 9
What type of join you are doing? It would probably also depend on the attribute(s) you are joining on and their values.
prashavhad
prashavhad
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 Visits: 161
Please check with following possibilities, I have consider fact and geo tables

1) Cross Join -- It will give you cartesian product of two tables = 1000*5=5000 rows

2) Inner join --It will give you only matches from both the tables
a) = 5 -- if all five matches
b) < 5 -- if no duplicates
c) >= 5 -- if there are duplicates
d) 0 -- No matches

3) Left join -- It will give you all matches from left table even if there are no matches in the right table
a) = 1000 -- all matches
b) >= 1000 -- with duplicates

4) Full outer join -- It will give you matches as well as nonmatches from both the tables
a) >= 1000
maheshkrishnas
maheshkrishnas
SSC Journeyman
SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)

Group: General Forum Members
Points: 89 Visits: 148
hi,


Thanks for your reply..
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search