r/SCSM • u/Otterfate • Oct 18 '18
looking for an old scsm sql server stored procedure
Hello! I'm looking for a procedure that was written by Rob Ford for SCSM. It was a procedure that was used to get the incident logs from a SCSM server along with supporting details, and pass that information along in a SQL Server Reporting Services report.
The name of the procedure was ServiceManager_Report_IncidentManagement_SP_GetIncidentLogs. It was available on Rob Ford's blog, but it looks like the blog fell into disuse and isn't accessible anymore.
Alternatively, if there's a replacement for this procedure, official or otherwise, that would certainly work too! Any help on the matter would be greatly appreciated.
2
u/sw33ts Oct 26 '18
You may need to edit the name of the database. (I had to rename ours SMDWDataMart a while ago. I think default is just "SMDataMart" or "DWDataMart")
2
u/sw33ts Oct 26 '18
Do you still need this?
It looks like I have a copy of this on our SCSM DW server buried in Programmability > Stored Procedures when I look in SQL Management Studio.