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

How to create from colection array to psql


pixar

Recommended Posts

Hi, I have a problem insert the values of input in a SQL query.

Input: days of the week (Multi –select list of Values)

Table:

Name|value

Monday|1

Thuesday|2

….

SQl Qeury

select * from report_redlight_pr($P{FromDate}, $P{ToDate}, array[0,1,2,3,4,5,6] , $P{from_time}, $P{Czas_do});

I need create this: array[0,1,2,3,4,5,6]

Jasperserver return this: $P{dayofweek} = [0,1,2,3,4,5,6,]

 

Thank you for your advice.

Radek

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...