Good morning,
I am so sorry for asking you again on the clarification of the script finding foreign key of the FactCurrencyRate table in the AdventureWork2019 database.
Accoring to the diagram below, the FactCurrencyRate table has two foereign keys refer to the DimCurrency table and the DimDate table. So when I ran the script below , it should give me those two referenced tables and their primaky keys
use AdventureWorksDW2019
select OBJECT_NAME(referenced_object_id)
FROM sys.foreign_key_columns
WHERE OBJECT_NAME(parent_object_id) = 'dbo.FACTCurrencyRate'
GO
However, it gave me none of the referenced tables and their primary keys when I ran the script above to find depencies of the FactCurrencyRate table.
Could you please help to suggest what I need to do in order to find the dependencies of the FactCurrency table because I need to use it in the Lookup Transformation for my learning of SSIS ?
Thank you very much for the help.
Du