Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Statement Too Long Error 1812
Message
From
10/09/1998 04:14:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/09/1998 13:03:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00134613
Message ID:
00134927
Views:
13
>Foxpro still has to substitute the macro stuff and when it does, it gets a command that is too long.
Yes sure. But the limit is 8K per command line. Generally it's not the command line that exceeds but contained expression. ie: & substitution is sometimes done wrong and instead of a memofieldname you might be directly referring to memo contents which could easily exceed the limit. If this is the case by dividing the whole command line you could find it more easily. W/o macrosubstitution does this command run correctly from command window (and length below 8K limit) ? And dividing also might provide a way to keep it in limits. ie: for fields list you could remove alias for fields that only exist in one table. But in all you're right syntactically they're the same. Good luck.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform