SQL Server 2000,查询是否按顺序执行?

发布于 2024-08-20 23:35:52 字数 198 浏览 5 评论 0原文

我不确定我的问题是否与执行查询的工具有关。 (我一般使用查询分析器、Access 和 AQT)。

例如我有两个查询。

SELECT * FROM Table1

SELECT * FROM Table2

那么,查询是顺序执行还是同时执行?如果同时执行,如何让它们按顺序执行?

谢谢。

I am not sure if my question is related with the tool for executing the queries. (I am using Query Analyser, Access and AQT generally).

For example I have two queries.

SELECT * FROM Table1

SELECT * FROM Table2

So, do the queries executed sequentially or at the same time? If the are executed at the same time, how to make them execute sequentially?

Thanks.

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

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

发布评论

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

评论(2

情绪少女 2024-08-27 23:35:52

它将依赖于工具,尽管我使用的每个交互式工具都以相同的方式(顺序)执行此操作,并且其他任何行为都将是极其不寻常的行为(希望该工具的文档突出显示)。在查询分析器中,它们将是连续的。

It'll be tool-dependent, although every interactive tool I've used does it the same way (sequentially) and anything else would be extremely unusual behavior (and hopefully highlighted by the tool's docs). In Query Analyzer, they'll be sequential.

最美的太阳 2024-08-27 23:35:52

查询分析器按顺序运行批处理中的每个语句。

鉴于它们都是 SELECT,它们是否按顺序运行实际上并不重要。

Query analyser runs each statement in a batch sequentially.

Given that they are both SELECT's it wouldn't actually matter whether they ran sequentially.

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