Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Creating a C++ Structure from a SELECT result
Hi all, I am trying to return fairly large amounts of data from a SELECT to a C++ program (50 rows each containing 900 bytes of data spread across 30 columns). Even though MS claims to have "dramatically improved" the speed of string concatenation in vfp60, I find it very slow when I have to use it to build a single string from an array containing 1500 elements. This prevents me from being able to use "SELECT ... INTO ARRAY". The fastest way I have found so far is to use "SELECT ... TO FILE" and then use low-level file utilities to read in the results as a single long string. But that means disk I/O! Can anyone suggest something faster?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement