Solved

Max Length of SQL string in BDE/LocalSQL ?

Posted on 1998-11-13
5
399 Views
Last Modified: 2013-11-23
What is the maximum length of a SQL string when using the BDE/LocalSQL on foxpro tables?

Thanks,
joe
0
Comment
Question by:greendot
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:dwwang
ID: 1346737
A query's SQL property is a TStrings object, so it has the limitation of TStrings. As my test result, it must be less than 32K. Sometimes we have hundres of SQL to execute, then we break them up to 2-3 parts to avoid error.
0
 
LVL 2

Author Comment

by:greendot
ID: 1346738
dwwang, I only rejected your answer to see if anybody knows if it is possible to break the 32k size limit.  If nobody knows how then I'll give you the points.

Thanks,
joe
0
 
LVL 4

Expert Comment

by:dwwang
ID: 1346739
No problem, I'm also eager to know whether one can break the limit. ^_^
0
 
LVL 4

Accepted Solution

by:
dwwang earned 100 total points
ID: 1346740
Seems there's no one can do the trick.
0
 
LVL 2

Author Comment

by:greendot
ID: 1346741
Yep, seems that way.

(sigh)

See in in another question..  :)

-j
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question