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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subtract one day from a date

Status
Not open for further replies.

ulicki

Technical User
Oct 24, 2001
88
US
Hi,
I have created a view which calls a function (relevant line of code below):

optionsVested(grnt.grant_num, canc.CANC_DT, DECODE(grnt.sar_flag,2,1,0)) VESTED - Returns a number

The canc.CANC_DT field is a date field. I need to pass the day before. So if CANC_DT is 01/01/02, I need to pass 12/31/01.

Thank you,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top