I need to retrive data with out case sensitive in sql.
SELECT * from tab
WHERE col1 LIKE LOWER('b%') OR col1 LIKE UPPER('b%')
AND col2 LIKE LOWER('b%') OR col2 LIKE UPPER('b%');
this one retrive all the row in the table. but i need only the rows with col1 (B* or b*) and col2 with(B* or b*)