我可以在 MySQL 中 JOIN 两个表的列数上限?

发布于 2024-09-07 01:28:35 字数 34 浏览 3 评论 0原文

在 MySQL 中 JOIN 两个表的列数是否有限制?

Is there a limit to the number of columns I can JOIN two tables on in MySQL?

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

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

发布评论

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

评论(1

等数载,海棠开 2024-09-14 01:28:35

如果 SQL 语句的大小有限制,则:您无法创建连接如此多列的 SQL 语句,以致连接条件不符合 SQL 的限制陈述。

否则 - 实际上 - 。在 DBMS 耗尽处理连接的能力之前,您将无法理解连接。

To the extent that there is a limit on the size of an SQL statement, then Yes: you cannot create an SQL statement that joins so many columns that the joining condition does not fit inside the limit on an SQL statement.

Otherwise - and in practice - No. You will run out of the ability to comprehend your joins before the DBMS runs out of the capacity to handle them.

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