Quantcast
Channel: SQLServerCentral » Reporting Services » SSRS 2012 » Latest topics
Viewing all articles
Browse latest Browse all 534

SSRS 2012 Data Source info in DataSource Table

$
0
0
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

Viewing all articles
Browse latest Browse all 534

Trending Articles