Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql syntax
Message
De
20/04/2002 04:05:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Sql syntax
Divers
Thread ID:
00647177
Message ID:
00647177
Vues:
49
hi all,

i have a date field which stores the birth date of employees.

i want to extract (thru' sql) those employees whose birthdays fall 4-5 days before the system date on any given day and i would like to have the list sorted on only the day of the month value and not the entire date field. for example, if one birthday falls on 1st April, 1971 and another on 2nd April, 1941 I want the order to show (in MM/DD/YYYY format) as below -

04/01/1971
04/02/1941
04/03/1954 etc.

from the above it will be seen that the resultant data should be sorted on the DD value only

what will the SQL syntax be ?

sincere thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform