hello gurus
I have a report with a crosstab and a case with prompts that's taking too long. Same query in PL/SQL developer takes 20 secs. This part I suspect is the trouble
WHERE TABLEPRODUCT.NAME = CASE @Prompt('Product is:','A',{‘MOVIL','LANDLINE','INTERNET'},,,,{'INTERNET'},User:4) WHEN 'MOVIL' THEN 'PAYMENT CELLPHONE' WHEN 'LANDLINE' THEN 'PAYMENT LAND' WHEN 'INTERNET' THEN 'PAYMENT ROUTER' END
I’m using this prompt five times in the same custom query to construct dynamically the table. Is this a good practice? the query in BO takes sometimes more than 10 minutes instead of 20 seconds
thanks in advance