| Author |
JasperReport - error with conditional parameter in SQL
|
Chengwei Lee
Ranch Hand
Joined: Apr 02, 2004
Posts: 884
|
|
I'm trying to have a query that returns all rows if user_id parameter is NULL/empty. The same query should return a specific row if user_id is not NULL/empty. I did some Googling and found the following suggestion. However, when I preview the Jasper report in the iReport, I hit a Oracle missing keyword error. I checked my syntax and it seems to be okay.
Any help is appreciated!
|
SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
|
 |
 |
|
|
subject: JasperReport - error with conditional parameter in SQL
|
|
|