Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Expression is too complex
Message
De
17/05/2001 09:18:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL Expression is too complex
Divers
Thread ID:
00508252
Message ID:
00508252
Vues:
53
Hi All,

I am trying to create a screen where the user can select criteria for a report. The problem I am running into is that when I use the 'IN ()' in the WHERE clause there is a limit of 25 items per 'IN'. I might need up to 100+ in some cases. I need to have from 1 to 13 possible 'IN's in the statement. Since we are using the VFP ODBC to access a standard 'DBC' type database. The notion of Stored Proc is out of the question from what I've been told. If the criteria is kept to a minimum everything works fine. But this may not always be the case.

Anybody have an idea of a way to get around this limitation? Will I have to do several queries? If so, at what level do I do the breakdown?

TIA
Mike

P.S. VFP6 SP3
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform