Hi,
I am trying to display the results based on the document extension( .doc, .ppt, etc) selected by user.
Currently i am using
select * from table_name where Url matches "%.doc";
this query is much slow and keeps on feeding the search.
Other way, I tried to do same by an index over the "Url" column.
select * from table_name where Url likep ".doc";
But still dont work.
Could you please provide some other way to implement the same.
I am trying to display the results based on the document extension( .doc, .ppt, etc) selected by user.
Currently i am using
select * from table_name where Url matches "%.doc";
this query is much slow and keeps on feeding the search.
Other way, I tried to do same by an index over the "Url" column.
select * from table_name where Url likep ".doc";
But still dont work.
Could you please provide some other way to implement the same.