During execution of an SQL Query in MySQL Workbench, the query is automatically limited to 1000 rows. How does one prevent the tool from imposing this limit?

link|improve this question

feedback

1 Answer

up vote 8 down vote accepted

You need to add your own LIMIT clause to then end of your query.

Use a number greater than the possible number of items that will be returned, say LIMIT 100000.

Source: http://wb.mysql.com/?p=230#comment-1279


Update:

(Using version 5.2.29CE, not sure how up to date I am):

On the menu bar visit Edit -> Preferences.

Jump to the SQL Editor tab.

In the Query Results sectio at the bottom untick the Limit Rows option.
You can adjust the limit to a higher value from this location as well, if that is preferable.

link|improve this answer
Thank you, @DMA57361 – Brian Hooper Feb 1 '11 at 13:11
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.