index usage in not like

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Not like" operation does not use index.
 
select * from vtiger_contactscf where lower(cf_1253) not like  lower('Former%')
 
I created index on lower(cf_1253).
 
How can I ensure index usage in not like operation?
Anyone please help.
 

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux