views:

44

answers:

2

I'm looking for a way to fetch all data from a huge table in smaller chunks.

Please advise.

+4  A: 

To answer a question from the title
use LIMIT operator

SELECT * FROM table LIMIT 0,20

as for one from body, it's too broad to ask for a certain code example, doesn't it?

Col. Shrapnel
You're right with the code example.
akosch
A: 

Have you looked at LIMIT?

Mark Baker