Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Posts
    34

    Unanswered: data pull Week Over Week w/ Business Week starting on Sunday

    Hi Guys,

    Im trying to pull some data where the business week goes from Sun to Sat.
    Is there anyway to use the IW function but set the first day of week to Sunday?
    something like IW - 1 day...

    Also could you help me get the logic of pulling data for week 1 of 2013 and also week 1 of 2012... so essientially last 2 years the same week in the year..

    Thanks for the help!

    P.S I am using Oralce for this query
    - Using Oracle 11g with Toad v12

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >P.S I am using Oralce for this query
    you need to use SQL SELECT for this query.

    >Also could you help me get the logic of pulling data for week 1 of 2013
    which specific dates should be in the result set for above?
    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.

Posting Permissions

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