SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Extract Objects from SSRS Reports


Extract Objects from SSRS Reports

Author
Message
Jon Tavernier
Jon Tavernier
SSC-Enthusiastic
SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 62
Comments posted to this topic are about the item Extract Objects from SSRS Reports
sharath.chalamgari
sharath.chalamgari
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1742 Visits: 798
Nice article, in our development we will mostly use Procedures for the dataset of the Reports. so we normally use dependents of the table and then change the Procedures accordingly.

Good article to know about
ChrisKlink
ChrisKlink
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 368
sharath.chalamgari (8/1/2011)
Nice article, in our development we will mostly use Procedures for the dataset of the Reports. so we normally use dependents of the table and then change the Procedures accordingly.

Good article to know about

Ditto. The article presents an interesting solution, but it seems to be another case of just needing to standardize on using stored procedures.

(Obviously that's not always cut-and-dry if you're coming into a situation with a lot of legacy code...)
Jon Tavernier
Jon Tavernier
SSC-Enthusiastic
SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 62
Thanks for the replies and compliments!

One thing I failed to mention in the article is that this approach is due to our environment. The EDW team is a core team of four data architects, three research report analysts, two managers / data architects, one director, and one DBA.

On our medical campus, we have 30+ folks (power users) outside this core team using SQL Server Reporting Services and writing reports directly against tables in the EDW. These folks enter SQL directly into SSRS and do not create SPs for each data set query.

So, this was a quick solution to extract tables/functions from those queries.
Yusuf Bhiwandiwala
Yusuf Bhiwandiwala
SSC Veteran
SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)SSC Veteran (201 reputation)

Group: General Forum Members
Points: 201 Visits: 403
Wowww.. All the more reason to wrap your dataset queries inside stored procedures!
Ninja's_RGR'us
Ninja's_RGR'us
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47845 Visits: 9671
I've never touched SSIS, can you upload the package over here?
jwbart06
jwbart06
SSCrazy
SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)

Group: General Forum Members
Points: 2559 Visits: 438
In case anyone else runs into this.

Depending on what version you are running, I was wondering why only 7 reports were showing up from the select from the xml column.

As I removed and added reports, figuring it had to be the way I named stuff, it came down to the xmlnamespace.

;WITH XMLNAMESPACES (DEFAULT 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition')  -- setup namespace



I don't know if Jon mentioned it in the article use the latest namespace, then you should see the rest of your reports.

Great article, very useful, thank you. :-)

http://msdn.microsoft.com/en-us/library/dd207009.asp
Garima Sharma
Garima Sharma
SSC Journeyman
SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)

Group: General Forum Members
Points: 75 Visits: 82
Super cool article Jon!
nick.mcdermaid
nick.mcdermaid
SSChasing Mays
SSChasing Mays (608 reputation)SSChasing Mays (608 reputation)SSChasing Mays (608 reputation)SSChasing Mays (608 reputation)SSChasing Mays (608 reputation)SSChasing Mays (608 reputation)SSChasing Mays (608 reputation)SSChasing Mays (608 reputation)

Group: General Forum Members
Points: 608 Visits: 780
I can't believe I haven't found this earlier. Despite all the comments of 'you should use store procedures' etc., in the real world, a tool that can show me SSRS database references (and SSIS references for that matter) is absolute gold. I haven't tried this yet but that regex looks very helpful too. Currently I am searching XML one database sysobjects at a time.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search