Solved

How to version SQL Reports.

Posted on 2013-06-25
4
312 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Suggested Solutions

My client has a dictionary table. They're defining a list of standard naming convention. Now, they are requiring my team to provide us a mechanism how to match new incoming data with existing data in their system.
Here's a requirements document template for an integration project (also known as Extract-Transform-Load or ETL) based on my development experience as an SQL Server Information Services (SSIS) developer over the years.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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