Go and try dats_from_daydate ( adddays(now(), -1) ) ...
Remember, it's not so much about getting the date into (N)VARCHAR but into the SAP specific DATS format.
- Lars
Go and try dats_from_daydate ( adddays(now(), -1) ) ...
Remember, it's not so much about getting the date into (N)VARCHAR but into the SAP specific DATS format.
- Lars