I've been looking into the FetchAll property, to set it to false to reduce the memory consumption when retrieving large result sets. However, it appears that only the first result set is retrievable when FetchAll is false.
E.g. if I have these 2 commands in TMSQuery:
SELECT TOP 10 * FROM sysobjects
SELECT TOP 10 * FROM sysindexes
If FetchAll is True, I can retrieve the 2nd dataset by using the OpenNext method. However, if FetchAll is False, OpenNext returns false.
Is this a bug?
Thanks.