Solved

How to version SQL Reports.

Posted on 2013-06-25
4
306 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

786 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