|
-
in my mind exists more simple way for this report:
1. u create only 1 query with 3 queries and UNION
2. each select in union in WHERE constraction has:
select .....
where :P_NB_REPORT = 1 and
( ... your where for 1 case ...)
UNION
select .....
where :P_NB_REPORT = 2 and
( ... your where for 2 case ...)
UNION
select .....
where :P_NB_REPORT = 2 and
( ... your where for 2 case ...)
and thats it.
good luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|