Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Long SQLPREPARE Query Statement Issue
Message
 
À
27/10/1998 16:41:12
Robert Byrd
National Association of Homebuilders
Washington, District de Colombia, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00151274
Message ID:
00151284
Vues:
35
VFP has a literal string length limit of 255 bytes. Try breaking the statement up into smaller pieces and concatenating them like this: =SQLPREPARE(x,'SELECT * '+'FROM mytable WHERE '+'x=5...').

>If I execute a SQLPREPARE() statement that is very long, ie, over 255 characters, I cannot get it to execute. I have not been able to confirm that there is a 255 character limit on this statement (except that it is part of a VFP statement).
>
>Is there a trick, workaround or method to execute long SQL Server statements from SQLPREPARE()?
>
>Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform