my execute sql task needs to use a parameter to delete data from fact table based on the staging table in seperate database using paramters, The task is not deleting the data.
delete from fact.dbo.fact table
join staging.dbo.staging table
where staging.dbo.staging table .variable = 'n'
Please advice how to execute, single database working fine, but joining two databases based on prarameter is not dleetng the data