Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi parameter report
Message
From
02/03/2000 20:12:26
 
 
To
02/03/2000 14:59:20
General information
Forum:
Oracle
Category:
Reports
Miscellaneous
Thread ID:
00340806
Message ID:
00340986
Views:
33
How about this :

SELECT ......
FROM mytable
WHERE field1 = nvl(param1, field1)
AND field2 = nvl(param2, field2)
AND field3 = nvl(param3, field3)


the trick is : if the param is empty, compare the database field with itself.

HTHs,
Chiappa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform