Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to take year from date in JRS advance SQL query?

Hi Team,

How to take year(YY) from full date(DD/MM/YY) in JRS advance query??

I have tried to take by using year() function of SQL but it is throwing error as invalid identifier.




Thanks in advance!!

0 votes

Comments

Hi Shubhangi,

I just tried YEAR(CREATION_DATE) in Report Builder (RB) 6.0.2, using DB2 and it worked.  What RB version and what database vendor are you using ?

Thanks,
Clara


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,143
× 363

Question asked: Jun 08 '16, 6:03 a.m.

Question was seen: 3,946 times

Last updated: Jun 08 '16, 10:02 a.m.

Confirmation Cancel Confirm