I had a column name imsi and the length of column should be 15 characters, can we create an index based on length of column with condition
i already created an index on length(imsi) , but i want all the records where length(imsi)<>15, but the query is taking long time, where as for length(imsi)<15 gives output in milliseconds.
but i want the output where length(imsi) <> 15
select * from msisdn_data where length(imsi)<> 15
or
select * from customer_data where length(imsi)>15 or length(imsi)<15
both the queries takes long time