Friday, November 13, 2009

Oracle SQL - Week Number in Quarter

1 + TRUNC((vStartDate - TRUNC(vStartDate, 'Q'))/7)

No comments:

Post a Comment