aspose file tools*
The moose likes JDBC and the fly likes Need help tuning a sql statement (SOLVED) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Need help tuning a sql statement (SOLVED)" Watch "Need help tuning a sql statement (SOLVED)" New topic
Author

Need help tuning a sql statement (SOLVED)

Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

Hey there,

So I have the following SELECT:



I have need of some new data, so I have added the following to get what I need out of it:



Basically that last line is all that matters i think. Is there a way to make that all boolean (AND, OR), rather than needing to use NVL? I am sure it is possible, I just have not figured out how.

Thanks


solution - this worked



True wisdom is in knowing you know nothing - Socrates
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need help tuning a sql statement (SOLVED)