Jump to content
We've recently updated our Privacy Statement, available here ×

richard.deans

Members
  • Posts

    1
  • Joined

  • Last visited

richard.deans's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I am a complete beginner with jaspersoft studio and desperately trying to get my head round the nuances of report writing and understanding this. I am trying to create a number of reports with graphs within the studio so here is my dilemma and I am sure it's easy for those of you with knowledge to point me in the right direction. All of my databases store data in strings, dates are stored as e.g. 20141209, normally I use SQL such as; DECLARE @startdate CHAR(8) DECLARE @finaldate CHAR(8) SELECT @startdate=CONVERT(CHAR(8),GETDATE()-1,112), @finaldate=CONVERT(CHAR(8),GETDATE(),112) to return the previous days information requirements. I have tried using this within the Jasperstudio SQL connector and it appears to ignore it. I obviously do not want to re-write the queries daily with the date range(s) but have no idea how I could achieve the same results in studio. Please help Regards R
×
×
  • Create New...