Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2014

    Post Unanswered: selecting only weekends from a column in SQL

    Hi All,

    Can anybody tell me how to write a query to get only the weekends from the column where the column is in format "DD-MON-YYYY".

  2. #2
    Join Date
    Aug 2003
    Where the Surf Meets the Turf @Del Mar, CA
    Provided Answers: 1
    SELECT first_time 
    FROM   v$loghist 
    WHERE  To_char(first_time, 'D') BETWEEN '6' AND '7' ;
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts