select *
where email ilike 'example@sqldat.com'
ilike like . के समान है लेकिन मामला असंवेदनशील। एस्केप कैरेक्टर के लिए replace() . का उपयोग करें
where email ilike replace(replace(replace($1, '~', '~~'), '%', '~%'), '_', '~_') escape '~'
या आप पाठ से बचने के लिए एक फ़ंक्शन बना सकते हैं; टेक्स्ट उपयोग की सरणी के लिए
where email ilike any(array['example@sqldat.com', 'example@sqldat.com'])