Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i need current date dimension object,DB2

Status
Not open for further replies.

Eswar75

Technical User
Jul 19, 2004
10
US
hi

i need to create dimensiion that holds current system date.

when i am using DATE(CURRENT TIMESTAMP),it is giving error.

can u please help me?

thank u in advance
 
If it is actually a date you require, use
CURRENT DATE
as the dimension SQL in Designer. You do not need to wrap anything else around it, even though it looks odd to have a space in a 'function'.

For example, SELECT CURRENT DATE FROM TAB1 is valid SQL.
 
P.S, you will probably still get an error message when using this object ---- Ignore this message as it does work....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top