To get subscription list in a report server, we can use query below:
SELECT
ReportName = c.[Name],
IDSchedule = rs.scheduleId,
ScheduleType = s.EventType,
[Description] = ss.[Description],
LastStatus = ss.LastStatus,
LastRun = s.LastRunTime,
UserName = u.UserName
FROM ReportSchedule rs
JOIN Catalog c ON c.ItemID = rs.ReportID
JOIN Schedule s ON s.scheduleID = rs.scheduleID
JOIN Subscriptions ss ON ss.subscriptionid = rs.subscriptionid
JOIN Users u ON u.userid = ss.ownerid
Using database: ReportServer
Connect using Microsoft SQL Server Management Studio to Database Server that used as Report Server
Click here if you like this article.
Related Article:
- Installing Business Intelligence SQL Server 2005
- Creating Report with SQL Server Reporting (Wizard)
- Creating Report with SQL Server Reporting (without wizard) | Part 1
- Creating Report with SQL Server Reporting (without wizard) | Part 2
- Design Layout Report
- Creating Parameter for Filtering
- Stored Procedure as Report Data Source
- Parameter Data List from Database Query
- Creating Report Group
- Create Sequence Number Using RowNumber Function
- Uploading Report FIle (.rdl) to Report Server
- Remove Report Page Break/Page Break
- Query to Generate Subscription List
- Direct Printing to Printer
0 Comments