Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Long Insert string fails using odbc
Message
De
03/08/2001 09:09:55
 
 
À
02/08/2001 20:10:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00539168
Message ID:
00539339
Vues:
9
Hi Philip,

When I used to have this type of problem. Someone here on the UT one told me to break the string into smaller parts. Then add them all together.

csqlstring1 = "SELECT ....."

csqlstring2 = "FROM ......."

csqlstring3 = "WHERE ......"

csqlstring4 = "GROUP BY ..."

csqlstring5 = "ORDER BY ..."

csqlstatement = csqlstring1 + csqlstring2 + csqlstring3 + csqlstring4 + csqlstring5

nconhandle = sqlexec(nhandle, csqlstatement, 'some_cursor')

I have found this works great for all my SQL work. Insert, Delete, Update

HTH
Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform