Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limitation of 24 elements in SELECT IN...?
Message
From
17/07/2008 08:06:48
 
 
To
16/07/2008 23:51:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01331712
Message ID:
01331918
Views:
11
We changed the code back just to be safe. Otherwise, the oledb driver has to be installed on every machine as well.


>I'd mark that section still as a worry point in the code: I've read warnings about sys(3055) making vfp slower.
>Not tested, but it should eat into memory. Also I think the ability to index a temp table/cursor at times of your discretion
>is useful - no idea when vfp will kick in rushmore by creating tmp indexes.
>
>Your previous solution would be the one I stay with, even if the code is less elegant.
>
>regards
>
>thomas
>
>>I just downloaded the vfp9 9.0 SP2 OLE DB provider, and surprisingly, it works :O)
>>
>>
>>>>You are correct. I just found this:
>>>>
>>>>There are also no hard-coded limits on the number of items in a SQL IN list. In versions prior to Visual FoxPro 9, SQL IN was mapped to the INLIST() function; that dependency has been removed. This change allows an increase in the number of arguments for IN and for better optimization. Visual FoxPro 9 stops evaluating expressions from the list as soon as the match is found. This is helpful if the IN condition is not Rushmore-optimized, as performance can be improved by placing the most-likely-to-match values at the beginning of the list. The total number of items is still indirectly limited by the SYS(3055) function, which controls buffer memory size, so the higher the setting, the more items are supported via IN. (See the Common Error Messages sidebar for more information.)
>>>>
>>>>from:
>>>>
>>>>http://www.vfpconversion.com/Article.aspx?quickid=0404022
>>>>
>>>>Thanks Naomi...
>>>
>>>You're welcome. I guess I read this info once as well. So, how we're going to solve the problem?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform