Options.QueryRecCount and select top
Posted: Wed 08 Jun 2011 21:49
Hello
I have set:
oMSStoredProc.FetchAll := False;
oMSStoredProc.Options.QueryRecCount := True;
And I have tried to execute a simple query as follow:
select top 100 * from mytable
And the oMSStoredProc.RecordCount property returned more than 100 lines. I think it is a bug.
I have set:
oMSStoredProc.FetchAll := False;
oMSStoredProc.Options.QueryRecCount := True;
And I have tried to execute a simple query as follow:
select top 100 * from mytable
And the oMSStoredProc.RecordCount property returned more than 100 lines. I think it is a bug.