Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

A list of value as parameter

$
0
0
Given the following SQL command:

SELECT cccid, cccname
FROM concarcxc
WHERE grcid IN (123, 125, 126)

I need to parameterize the list so that the command is something like

SELECT cccid, cccname, grcid
FROM concarcxc
WHERE grcid IN (${listofvalue})

I declare the parameter as string, but the report did not work.


Can anyone recommend me how to solve this problem?

Thanks

Viewing all articles
Browse latest Browse all 16689

Trending Articles