Hello friends I want to create new objects like currentdate,current year,previous year,last week ,etc. My universe is connected to DB2 database. Can you tell me how to use current date in Universe?.
I have created a new class and in select statement i typed current date, but it gives me error saying table name shld be given. ANy help/ideas friends?
Thanks a ton,
Toby
Such an object will not parse as it does not reference any table/view.
But do not dispair, such an object used in conjunction with “regular” universe objects will work just fine when creating a report, try it out
thank you so much for the quick response:-), so shall i just use some random table name? or Object name?. For example, table1.current date?
Thanks again
NO, do not use any table name. Again the object using CURRENT DATE in the SELECT part will not parse, that is OK.
When you create a report and use this object in conjunction with a “normal” universe object everything will be fine. Again, try it out.