Friday, November 13, 2009

Oracle SQL - Day number in Quarter

trunc(vStartDate-trunc(vStartDate,'Q'))+1

No comments:

Post a Comment