将数据库更改移植到sql报告服务以避免破坏报告 [英] porting over database changes to sql reporting services to avoid breaking reports

查看:87
本文介绍了将数据库更改移植到sql报告服务以避免破坏报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当进行数据库更改(重命名或删除表和列名称)时,我的商店正在努力处理我们在部署后作出反应的损坏报告。在使用数据库
更改之前,没有固定的做法来修复报告以反映更改。 我必须相信断开是一个非常普遍的挑战。

When database changes are made (tables and column names renamed or eliminated), my shop struggles with broke reports which we react to after deployment. There is no established practice to fix the reports to reflect the changes before going live with the database changes.  I gotta believe the disconnect is a very common challenge.


我将数据库设置为VS中的SQL Server数据库项目并将它们提交给GIT。报告服务文件(rdl文件)也在GIT中。在任何地方搜索以查看数据库项目是否可以连接无效。  

I have the databases set up as SQL Server Database projects in VS and have them committed to GIT. The reporting services files (rdl files) are in GIT as well. Googled everywhere to see if a database project can be connected to no avail.  


每当更改数据库对象时(例如重命名列)在数据库项目中,我正在寻找一种有效的方法来修复SQL服务器报告服务项目中重命名列的引用。

Whenever a database object is changed (renamed a column for example) in a database project, I am looking for an efficient way to fix the references to the renamed column in the SQL server reporting services project.

推荐答案

<你好profnachos

Hi profnachos

根据你的描述,当表格中的列改变时,似乎你想要更改rdl文件的数据集查询和列字段,对吗?

According to your description ,seems that you want to change the dataset query and column field of rdl file when the column filed in table changed ,right ?

很抱歉不熟悉git,我们无法提供有关版本控制的专业建议。

Sorry for not familiar with the git , we could not offer the professional suggestion about the version control .

尽管可能,你可以尝试创建一个触发器,当您尝试更改一个表的列,触发触发器a然后使用更新的列条件更改rdl内容。

While if possible , you could try to create a trigger , when you try to change one tables’s column ,trigger the trigger and then change the rdl content with the updated column condition .

或者,您可以尝试在
https://feedback.azure.com/forums/908035-sql-server

如果客户多次提到要求,产品团队可能会考虑在下一个SQL Server版本中添加此功能。您的反馈对我们改进产品很有价值,并且b $ b可以提高我们提供的服务水平。

感谢您的支持和理解。

最诚挚的问候,

Eric Liu


这篇关于将数据库更改移植到sql报告服务以避免破坏报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆