Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select question
Message
 
 
À
30/05/2003 05:30:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00793758
Message ID:
00794606
Vues:
21
>Hi Nadya,
>
>you uses DATE() function on WHERE clause ?
>
>Fabio

No, I meant, that date comparision part could be moved into where clause from JOIN (you did join on PK and dates range, I would move that part in WHERE). I agree, that it's better to not use functions in SQL, if they could be replaced with variables. So, your comment about using dEnd instead of date() is valid. I'm not sure, how would it affect on performance, probably unnoticable anyway... But it's a good practice in my opinion.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform