在Oracle Live SQL中返回50行
关于Oracle Live SQL在线环境( https://livesql.oracle.com/ )
:查询,默认情况下仅返回50行。
有没有办法返回50行?
源脚本: a>
--This query should return 220 rows.
with dimension as (
select 0 as point from dual
union all
select level
from dual
connect by level <= 10
), points as (
select
a.point as startpoint,
b.point as endpoint,
c.point as fixed
from dimension a
cross join dimension b
cross join dimension c
where b.point - a.point = 1
)
select
startpoint as startpoint_x,
fixed as startpoint_y,
endpoint as endpoint_x,
fixed as endpoint_y
from points
union all
select
fixed as startpoint_x,
startpoint as startpoint_y,
fixed as endpoint_x,
endpoint as endpoint_y
from points
order by startpoint_y, endpoint_y, startpoint_x, endpoint_x
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是livesql的限制。您可以使用选项操作 - &gt;最大行首选项
,您可以在其中设置最高限制5000。AFAIK仍然无法设置Infinity-有一个解释“这可以防止您的浏览器被非常大的查询结果超载。小部件。
This is limitation of LiveSQL. You can partially circumvent it using option Action -> Maximum Rows Preference
, where you can set the highest limit 5000. It is AFAIK still impossible to set infinity - there is an explanation "This prevents your browser from being overloaded with very large query results. " in the help widget.