Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command line length 8,192
Message
De
14/07/2014 15:23:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
14/07/2014 15:10:43
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01603641
Message ID:
01603668
Vues:
60
>>>>I have seen building SQL with embedded semicolons cause a syntax error, and removing them either programmatically before the macro or not adding them manually in the first place not have the error. Why is the length different depending on the alias and/or field names too?
>>>
>>>Sorry Mike, I give up, cannot find what might be the problem and I spent to much time already on this (by the way, all my tests I did them using execscript instead of macro and got the same results, so is not macro specific)
>>
>>Thanks for trying Hugo. It looks like there is a maximum of 128 fields that can be updated in a single REPLACE command. I never saw that in the help. So such code would have to concatenate until the length of line is under 8192 and there are less than 128 fields in the command. Wow,
>
>High.
>I have no time to test (and no fox here) Does it work with a UPDATE SQL?

Replace has a limit of 128 fields. Update SQL goes to 256 fields or until line too long. Update SQL says Too many fields in Update beyond 256. Replace just says Syntax Error after 128.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform