Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limit to Sql Passthrough Strings
Message
De
09/03/2000 19:27:49
 
 
À
09/03/2000 18:41:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00343935
Message ID:
00343955
Vues:
25
Hi Barry,

Use the STRTOFILE function to build the sql statement AND FILETOSTR Function to pass the statement to SQL. FoxPro limitations is 255 characters in the pass through statement. This has been the easiest way I have found around this problem.

SQLEXEC(ch,FILETOSTR(tempfile),'sqlresult')

HTH
John



>I'm defining an admittedly rather long sql expressiong which is stored to a memvar that, when evaluated, seems work ok in VFP but when passed to sql server via sql pass through, appears to get truncated.
>
>Is there any light in my darkness out there
>
>"Ignorance is as Ignorance does"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform