Hi
i'm trying to create conditions for virtual table in column analysis,
having difficulty in specifying "current date" and extracting date from timestamp column and comparing, like below, can someone help me?
col1 <= sysdate /* how to specify sysdate in the condition box
date(col2) < '2013-12-31' /*how to extract date from timestamp and comparing against a specified date, the data type of col2 is timestamp
cheers
mj
Specifying current date and substring in virtual table
-
- Premium Member
- Posts: 139
- Joined: Fri Apr 11, 2008 1:02 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 139
- Joined: Fri Apr 11, 2008 1:02 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Did you select the function from the list in the tabbed dialog on the right hand side? (Note, too, that CurrentDate() was only a guess - I don't have IA available right now.) I'm thinking that the function name may be case sensitive.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I do not think it is possible in the GUI. You will need to create an xml fragment and run it via the command line.
Since you have opened another question on that topic, I will answer you there.
Reference: viewtopic.php?t=150610
Since you have opened another question on that topic, I will answer you there.
Reference: viewtopic.php?t=150610
Regards,
Robert
Robert