Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why my SQL gives me wrong results
Message
 
 
À
27/07/2006 11:56:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01140687
Message ID:
01140745
Vues:
11
Actualy I was mistaken. It covers all Terry's examples but I doesn't cover cases when NET.Start_date = NET.End_date = ldStartCurr or NET.Start_date = NET.End_date = ldEndCurr

>What do you mean Sergey? ldStartPrev,ldEndPrev? You can add it as another condition.
>Cetin
>
>>Cetin,
>>
>>Your condition do not satisfy 2nd, 3rd and 4th examples below.
>>
>>>Didn't check throroughly, just some code to get 'overlapping' in an easier way:
>>>
where NET.Start_date < m.ldEndCurr and  NET.End_date > m.ldStartCurr
>>>instead of multiple 'or's.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform