I would like to use a single prepared statement (JDBC).
For example: SELECT NAME WHERE REGION = ? AND SITE = ?
The issue is that the region and site qualifiers are optional. Is there a way that I could set the region/site values to a wildcard, so that they don't get used?
For example: SELECT NAME WHERE REGION = ? AND SITE = ?
The issue is that the region and site qualifiers are optional. Is there a way that I could set the region/site values to a wildcard, so that they don't get used?