如何在 SQL Reporting Services 模型中包含数据库的视图

发布于 2024-10-09 08:16:34 字数 212 浏览 0 评论 0原文

我是 SQL Reporting Services 的新手。我需要从数据库中的 SQL 视图创建报告。当我将数据库添加为数据源并从该数据源生成模型时,该模型包含数据库的表,但不包含其视图。

有没有办法将视图包含在模型中,以便我可以在报告中使用它们?

其他详细信息:使用 SQL Server 和 Reporting Services 2005

I am new to SQL Reporting Services. I need to create a report from a SQL view in my database. When I add the database as a data source and generate a model from that data source, the model includes the database's tables, but not its views.

Is there a way to include the views in the model so I can use them in my report?

Additional Details: Using SQL Server and Reporting Services 2005

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

三月梨花 2024-10-16 08:16:34

一位朋友指出,这里的问题是模型对于我想做的事情来说并不是必需的。我认为有必要的原因是,Report Builder 1.0 要求您在创建报告时选择一个模型。然而,Business Intelligence Development Studio 不支持(Report Builder 版本 2+ 也不支持)。

我将在 Business Intelligence Development Studio 中制作报告。

A friend pointed out that the problem here is that a model is not necessary for what I want to do. The reason I thought it was necessary is because Report Builder 1.0 requires you to select a model when you create the report. Business Intelligence Development Studio, however, does not (Neither do Report Builder versions 2+).

I will be making the report in Business Intelligence Development Studio instead.

反差帅 2024-10-16 08:16:34

http://msdn.microsoft.com/en -us/library/ms345300%28v=sql.105%29.aspx

这是通过 Business Intelligence Studio 创建模型的有用链接(也可以包含视图)。

http://msdn.microsoft.com/en-us/library/ms345300%28v=sql.105%29.aspx

This is a useful link to create a model via Business Intelligence Studio (which can include views too).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文