开发者

Upper limit to number of columns I can JOIN two tables on in MySQL?

Is there a 开发者_开发百科limit to the number of columns I can JOIN two tables on in MySQL?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜