Hi,
I am trying to create a view via ISeries Navigator that will return records that have a date value of today-3months.
Normally I would use the SQL GetDate() function but this doesn't seem to be available via OS/400. Does anyone have any advice on how I can create a view which uses a rolling date ?
Thanks for any help.
ShortyA
I am trying to create a view via ISeries Navigator that will return records that have a date value of today-3months.
Normally I would use the SQL GetDate() function but this doesn't seem to be available via OS/400. Does anyone have any advice on how I can create a view which uses a rolling date ?
Code:
EG
Create view test as
(select crdattim from file1
where crdattim >= currentdate-90)
Thanks for any help.
ShortyA