Hi,
I have an LOV using a record group that I am trying to use as to validate against a supplier ID or a supplier name. I have over 40,000 records. It was returning in about 2 seconds when I had only validate against ID. Now my first column uses concatenation for 3 columns. The query takes between 10 and 20 seconds to return. Does anybody know how I can speed this up. I will copy record group below.
Thanks,
Daniel.
select lpad(to_char(supplier_id),6,'0')
||' '||supplier_name||decode(trading_name, null, null, ' trading as'||trading_name) supplier,
mail_city,
mail_state,
supplier_id,
supplier_abn,
supplier_name,
trading_name
from aps_supplier
where active_flag = 'A'
order by supplier_id
I have an LOV using a record group that I am trying to use as to validate against a supplier ID or a supplier name. I have over 40,000 records. It was returning in about 2 seconds when I had only validate against ID. Now my first column uses concatenation for 3 columns. The query takes between 10 and 20 seconds to return. Does anybody know how I can speed this up. I will copy record group below.
Thanks,
Daniel.
select lpad(to_char(supplier_id),6,'0')
||' '||supplier_name||decode(trading_name, null, null, ' trading as'||trading_name) supplier,
mail_city,
mail_state,
supplier_id,
supplier_abn,
supplier_name,
trading_name
from aps_supplier
where active_flag = 'A'
order by supplier_id