I have tried this syntax in business objects (a reporting tool) with Teradata syntax since we are trying to access data.
The date field is stored as 20030502.
I have written this
Cast(substr(IVR.Local_Order_Entry_IVR.DATES,1,4) || '-' || substr(IVR.Local_Order_Entry_IVR.DATES,5,2) ||...
I want to write a script that looks back at the last month for a sql query.
so how do I store todays date and make two more dates for beginning and end of last month.
thanks,
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.