If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > selecting rows with a c++ program from MS SQL Server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-03, 03:01
JReckers JReckers is offline
Registered User
 
Join Date: Jan 2003
Location: The Netherlands, Oudkarspel
Posts: 27
Question selecting rows with a c++ program from MS SQL Server

Hi,

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.

Doen anybody know wich problem I am facing???

JReckers
Reply With Quote
  #2 (permalink)  
Old 06-17-03, 03:26
JReckers JReckers is offline
Registered User
 
Join Date: Jan 2003
Location: The Netherlands, Oudkarspel
Posts: 27
Hi,

I really need know the solution to this problem. Doesn't anybody know the answer?

JReckers
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On