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 (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)

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

Group: General Forum Members
Points: 1472 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 (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)

Group: General Forum Members
Points: 130 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-Enthusiastic
SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)

Group: General Forum Members
Points: 119 Visits: 403
Wowww.. All the more reason to wrap your dataset queries inside stored procedures!
Ninja's_RGR'us
Ninja's_RGR'us
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

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

Group: General Forum Members
Points: 2501 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
Valued Member
Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)

Group: General Forum Members
Points: 57 Visits: 82
Super cool article Jon!
nick.mcdermaid
nick.mcdermaid
Old Hand
Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)

Group: General Forum Members
Points: 384 Visits: 778
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