Trying to figure out how to let a user put in date into a userinput without having them think about Upper or Lower Case.
See attached DataBase.
The QUERY
Code: Select all
SELECT
"Service" || IFNULL( ', ' || "TypeOfService", '' ) AS "Service",
IFNULL( "UnitPrice", NULL ) AS "UnitPrice"
FROM
"Service" LEFT OUTER JOIN "TypeOfService" ON "Service"."FKTypeOfServiceID" = "TypeOfService"."TypeOfServiceID"
WHERE
"Service" LIKE '%' || :Service || '%' AND
( "TypeOfService" LIKE '%' || :TypeOfService || '%' OR "TypeOfService" IS NULL )
If a user is trying to select a 'Service' and puts in 'service', nothing is found.
I would like a situation where both inputs are acceptable.
Any thoughts?
Dream