Jump to content
Changes to the Jaspersoft community edition download ×

Error in jasper using CASE


shakarim

Recommended Posts

Hi All

I had use the CASE condtion in sql statmet , its work fine in Sql server , giving error in jasper report

select  CONVERT (DATE,delivered_dt), SUM( CASE UPPER(_ITEM_DESCRIPTION)  WHEN  'EAR RING'  THEN  2  ELSE  1  END)  jobcount, sum(quantity)

Thanks in advance

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...