Solved

How to version SQL Reports.

Posted on 2013-06-25
4
304 Views
Last Modified: 2016-02-11
I currently have a report project of around 60 reports. These reports are used by 2 different client companies, though they are deployed at different times and they are organised differently on each of the report servers. My issue is usually trying to determine what version of the report is on either server.

The date stamps can be helpful, but often I find if there has been a large gap in deployment between companies, the underlying backend data may not be compatible with new uploaded reports.

We keep the source files in SVN, which are obviously versioned for its purposes...but I would like to be able to version individual rdl files, so when I view them on the report server, I can look at some type of metadata that gives me a version number. I DO NOT wish to put versioning in the report name or in the description field.

Has anyone got some good ideas how I can do this.
0
Comment
Question by:Milkus1
  • 2
4 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39277052
That is indeed something that's missing in the RDL implementation.  In SSIS packages there's a property called VersionBuild which gets increased with every save.  That's very useful for purposes such as yours.  Unfortunately SSRS does not have that.

So, as it's not build in the only option that I see is to implement it yourself somehow.  It could be as easy as adding a small textbox in a footer with a hardcoded version number.  Of course that means that you need to change that number manually each time you change the report.  Annoying, but it should work.

Perhaps it's an option to use the SVN version number?  Although I guess that would mean you need to know the next version before you check it in, hmm, might be chicken/egg issue...
0
 
LVL 6

Accepted Solution

by:
Dulton earned 250 total points
ID: 39282355
I have used this solution myself and it works beautifully.... in fact I took it a little further and setup my report of these 'versions' to include a link where I could download any one of the historical versions of the report.


http://www.sqlservercentral.com/articles/Reporting+Services+(SSRS)/94119/
0
 

Author Closing Comment

by:Milkus1
ID: 39283127
Not sure if I can get my DBAs to agree to it, but looks like a start. All will need is to add an incremental version number and it should be well on the way.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39283546
Interesting trigger usage in that article!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now