Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intersection of schedules
Message
 
À
07/09/1998 17:30:48
Stephen E Johnson
Johnson & Associates Business Software
Corvallis, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00133845
Message ID:
00133916
Vues:
11
You basically have three conditions to check:

a) If start and end our both outside
b) If start is inside
c) If end is inside

Select count(*) as howmany from t1, t2 ;
where (t1.startt2.end) ;
or (t1.start >= t2.start and t1.start<=t2.end) ;
or (t1.end >= t2.start and t1.end<=t2.end)

Costas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform