Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add_month function

Status
Not open for further replies.

pungigis

Programmer
Dec 5, 2007
71
US
currently have a sql with the following,

CDW.ENRLMNT_HDR_DIM.ENRLMNT_EFF_DT BETWEEN add_months(sysdate, {?Month}-12) AND add_months(sysdate, {?Month}-1)

?Month is a parameter, can it successfully be used in this way, I can't seem to get it to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top