Remove the limit clause from MySQL Workbench

匿名 (未验证) 提交于 2019-12-03 02:29:01

问题:

I'm running this query: select * from schema.table

but i'm only getting the first 1000 rows

i see in the output window that there was a LIMIT clause appended to my select statement. Is there a way to turn off the default limit?

回答1:

You can toggle the LIMIT clause added by MySQL Workbench via the SQL Editor tab within the application preferences (Edit menu -> Preferences...).

Simply un-check the "Limit Rows" option within the Query Results section as pictured below.

EDIT:

In Workbench 6.0, the "Limit Rows" checkbox stands in "SQL Queries" tab (new tab of the same form).



回答2:

MySQL Workbench 6.3

Option 1

Query > Limit Rows > Don't Limit

If you change the value here, it will also be updated in the path achievable via the second option.

Option 2

Edit > Preferences...

SQL Editor > SQL Execution > uncheck Limit Rows

If you change the value here, it won't be updated in the path achievable via the first option, but the new value will be considered.



回答3:

In MYSQL Workbench 6.0 the option can be found at Edit->Preferences->SQL Queries tab.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!