sql server - SQL Script to know join relationship between FACT & Dimension Table -
I have worked in the Data Warehouse project which uses MS-BI as its Technology Stack. There are dimensions and fact tables in the database but I want to know the columns between the dimensions and fact tables. Is there a SQL script that can be found in the column between the dimension and the fact table?
Thank you
between each fact table and dimension table in your data warehouse You can use the following query to get all the foreign keys. Choose from
* sys.foreign_keys * to sys.foreign_key_columns
Comments
Post a Comment