The percent (%) and underscore (_) are supported in all RDMSes. It's important to note the case sensitivity of LIKE in the various RDMSes since they are not all alike in their support of it:
- Oracle is case-sensitive by default. To search for both lower and uppercase, you will need to use the UPPER function, so you use WHERE UPPER(fieldname) like 'AD%'. This syntax will return the results of anything starting with ad and AD because we've converted all strings in the fieldname column into uppercase. String functions, including UPPER, will be covered more in Chapter 9, Working with Expressions.
- PostgreSQL is case-sensitive by default. If you need support for searching with LIKE for case-insensitive ...