Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

more results please!

Status
Not open for further replies.

Quetzycoatl

Technical User
Aug 18, 2003
4
US
I am new to MySql and I need to make queries that yield 1200+ results but the maximum I can get at one time is 1000. I know i can refine my queries and divide the results up, but for my purposes this is rather inconvenient. Is there some setting or variable I can change to allow the return of more than 1000 results?
 
I am using MySQL Control Center 0.9.2-beta, which is what I was told to use by the person managing the database.
 
There is a setting called SQL_SELECT_LIMIT, which limits the number of records return from a SELECT query. The online manual states that if you have a LIMIT clause in your query that is larger than the setting, MySQL will return the number of rows you specify.

You might just try:

SELECT .... LIMIT 10000

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top