Hi All, Everything works fine. Only help needed here is. Out of 4 names that pop up in the drop down menu, Only the @AppicationName
'Informatica' needs to be used with Query1. Rest all 3 @ApplicationName need to use Query2 Query1: SELECT NetworkName,SampleTime,[Max]FROM vinny..PerfData_CPUServerView (nolock)Where NetworkName in(@ServerName)And SampleTime >= @StartDateTime and SampleTime <=CONVERT(date,DATEADD(dd,1, @EndDateTime),101)Orderby SampleTime asc
select NetworkName,SnapshotTime, ProcessUsePct from vinny..SqlResourceUseHistoricView (NOLOCK)Where NetworkName in(@ServerName)And Snapshottime >= @StartDateTime and SnapshotTime <=CONVERT(date,DATEADD(dd,1, @EndDateTime),101)Orderby SnapshotTime asc |
↧
Query that needs to be used in Cascading parameters report
↧