Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
254 character limitiation on strings sent to sql..
Message
De
18/06/2001 21:13:39
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
18/06/2001 16:42:52
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00520766
Message ID:
00520830
Vues:
20
Frank,

I can's speak for SQL-Server specifically, but the following works well for me:
lcSelect = [SELECT ..... ]
lcFrom   = [FROM .... ]
lcWhere  = [WHERE ..... ]
lcSQL = lcSelect + lcFrom + lcWhere 
SQLEXEC(nHandle, lcSQL)
>to all
>i am sending query stings to sql server to bring back cursors for my reports. when the string is 254 characters or less it runs fine but otherwise it bombs out. has anyone else had this problem, and/or is their a workaround for it
>tia
>frank
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform