i don't get the appropriate results from LIKE search using PDO because PDO search is case sensitive, i want case insensitive.
I have this query, but it returns only data which fully matches if there is Alphabet a
small in database, the i don't get result if i search with capital alphabet A
.
$stmt = $conn->prepare("SELECT ROOM, GUEST_NAME, GUEST_FIRST_NAME, CONFIRMATION_NO, DEPARTURE, PWD FROM RESERVATION_GENERAL_2 WHERE GUEST_FIRST_NAME LIKE ? OR GUEST_NAME LIKE ?");
$stmt->execute(array('%'.$searchFilter.'%','%'.$searchFilter.'%' ));
is there anyway to fix this query to make it case insensitive?
im using oracle 11g Xpress Edition database.