RE: Quick SQL assistance

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Mon, 14 Sep 2009 13:25:14 -0700
Message-ID: <64BAF54438380142A0BF94A23224A31E112B2A0CF6_at_ONEWS06.oneneck.corp>



I'm not sure if I understand what you're trying to get - you mean you only want it to return records where snap_date is a Tuesday? If so, you can do that with this syntax:

WHERE to_char(snap_date,'DAY') = 'TUESDAY'

Regards,
Brandon



Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Sep 14 2009 - 15:25:14 CDT

Original text of this message