Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Max Length of SQL string in BDE/LocalSQL ?

Posted on 1998-11-13
5
Medium Priority
?
436 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 400 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Loops Section Overview

971 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