Default LIMIT for MySQL command line
Tired of adding LIMIT 10
to all your exploratory queries on the MySQL command line? Well...
SET sql_select_limit=10;
Now all your SELECT
s will have that limit automatically applied. To reset it set it to DEFAULT
:
SET sql_select_limit=DEFAULT;
Written by Jason King
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Related Tags
#mysql
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#