Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql syntax
Message
From
20/04/2002 04:05:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Sql syntax
Miscellaneous
Thread ID:
00647177
Message ID:
00647177
Views:
48
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.
Next
Reply
Map
View

Click here to load this message in the networking platform