Your fact table should contain foreign keys to the dimensions. I see only primary keys
More Related Contents:
- How to use GROUP BY to concatenate strings in SQL Server?
- SQL, Auxiliary table of numbers
- ListAGG in SQLSERVER
- DateTime2 vs DateTime in SQL Server
- SET versus SELECT when assigning variables?
- Is it possible to for SQL Output clause to return a column not being inserted?
- Generate Dates between date ranges
- How to print VARCHAR(MAX) using Print Statement?
- Default row order in SELECT query – SQL Server 2008 vs SQL 2012
- Query error with ambiguous column name in SQL
- Why (and how) to split column using master..spt_values?
- How would you implement sequences in Microsoft SQL Server?
- What does =* mean?
- CREATE TABLE IF NOT EXISTS equivalent in SQL Server [duplicate]
- SSIS Package not wanting to fetch metadata of temporary table
- SQL Select Upcoming Birthdays
- SQL GROUP BY CASE statement with aggregate function
- How can I include null values in a MIN or MAX?
- Favourite performance tuning tricks [closed]
- Query a database based on result of query from another database
- How to delete the top 1000 rows from a table using Sql Server 2008?
- CHECK CONSTRAINT on multiple columns
- INSERT VALUES WHERE NOT EXISTS
- Cannot create an instance of OLE DB provider Microsoft.Jet.OLEDB.4.0 for linked server null
- SQL count consecutive days
- Inner Joining three tables
- Cumulative Total in MS Sql server [duplicate]
- What does ON [PRIMARY] mean?
- Export table data from one SQL Server to another
- Getting warning: Null value is eliminated by an aggregate or other SET operation