限制使用WebI在BO中返回的结果或行数 [英] Limit number of result or rows returned in BO using WebI

查看:196
本文介绍了限制使用WebI在BO中返回的结果或行数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了使用自定义SQL之外,如何限制WebI中查询返回的结果/行数?可能类似于前100个记录。

How do I to limit the number of results/rows returned from a query in WebI other than using custom SQL? Possibly something like 'Top 100' records.

我无法更改参数中的限制结果大小,因为我不希望它影响其他任何报告。

I can't change the 'Limit resultant size' in the parameters as I do not want it to affect any other reports.

预先感谢您:)

推荐答案

在Web Intelligence中,您可以设置查询提供程序应检索的行数。此设置称为已检索的最大行数。从Webi用户指南中:

In Web Intelligence, you can set the number of rows that the query provider should retrieve. This setting is called the Max rows retrieved. From the Webi user guide:


检索的最大行数查询属性确定在以下情况下显示的
行数据的最大数量运行查询。

The Max rows retrieved query property determines the maximum number of rows of data that are displayed when a query is run.

如果只需要一定数量的数据,则可以将此值设置为
以限制文档中数据的行数

If you only need a certain amount of data, you can set this value to limit the number of rows of data in your document.

如果数据库
支持,则在数据库级别应用检索到的最大行。如果不是,则从
数据库检索后将丢弃行。

Max rows retrieved is applied at the database level if the database supports it. If not, rows are discarded after retrieval from the database.

注意:此设置链接到查询,而不是整个文档。换句话说,如果您的文档有多个查询,则必须设置每个查询的最大行数。

Note: this setting is linked to the query, not the document as a whole. In other words, if your document has multiple queries, you have to set the Max rows retrieved for each of them.

这篇关于限制使用WebI在BO中返回的结果或行数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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