Unanswered: selecting rows with a c++ program from MS SQL Server
I have written a C++ program with wich it is possible to select data from a MS SQL Server 2000 database.
The table from wich I am selecting is 1.492.709 rows long and 63 columns wide.
The C++ program connects via ODBC to the database and the results of the query are presented in an DBGrid.
The program works fine, for the most part. It is possible te select the data and the data coms nicely in the DBGrid. There is just one problem. When I select 1.492.709 rows with just 30 of the 63 columns in the database, al the rows ar shown in de DBGrid. But, when I select al the rows (1.492.709) and al the columns (63), the DBGrid shows only 450.091 rows. Where are the other 1.042.618 rows???
I gues that there is somewhere a setting wich sets the maximum 'data' that you can select, but I cant find it. It could be in the database, in the C++ program or in de ODBC connection.