Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL HELP
Use the function SUBSTR( TO_CHAR ( date_column, 'DAY' ),3) = 'FRI' in your
where clause
HTH!
Aleem
-----Original Message-----
Sent: Wednesday, March 14, 2001 6:11 AM
To: Multiple recipients of list ORACLE-L Subject: SQL HELP
Hello,
Now I know this must have been discussed here before, but how do you construct SQL to get all the fridays between 2 dates:
Sort of like:
SELECT some_date_column (want to see only fridays)
FROM some_table
WHERE...?
Thanks a lot.
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Mar 13 2001 - 22:56:50 CST
![]() |
![]() |