Using a function in a where clause on a database column prevents the database from using any indexes. It has to apply the function to all rows first before it can decide about the selection and that's disastrous for performance if it is a big table.select name from table where lower(name) = 'fubar'
In reply to Re: OT: Sql statement (how to ignore lower-upper case)
by pelagic
in thread OT: Sql statemet (how to ignore lower-upper case)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |