SELECT D.Name ,'Using Report ' = CASE WHEN D.Name IS NOT NULL THEN C.Name ELSE 'DataSource' ENDFROM DataSource DJOIN Catalog C ON D.ItemID = C.ItemIDScenario/Steps1) Create report in development environment, with datasource DEVDS as shared data source2) Run above script it return the datasource as DEVDS3) Upload report into production environment report server, 4) Run above script it return the datasource as DEVDS5) Change the datesource to PRDDS6) Run above script it return the datesource as DEVDSWHY did it not return the PRDDS for the last step?Thank you
↧