![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can anybody tell me why the following query is taking time to execute when I use in side the loop in stored procedure select count(*) into abcfrom r_output where trim(both from l_name) = cRec.l_name and trim( both from db) = cRec.db and trim(both from f_id) = cRec.f_id and trim(both from c_id) = cRec.c_id and trim(both from a_id) = cRec.a_id and trim(both from g_id) = cRec.g_id and trim(both from e_date) = cRec.e_date and trim(both from t_date) = cRec.t_date and f_key = inFKey and s_f_key = inSFKey; all variables are of type varchar2 except f_key, s_f_key which are of integer type Thanks. |
#3
| |||
| |||
|
|
Can anybody tell me why the following query is taking time to execute when I use in side the loop in stored procedure select count(*) into abcfrom r_output where trim(both from l_name) = cRec.l_name and trim( both from db) = cRec.db and trim(both from f_id) = cRec.f_id and trim(both from c_id) = cRec.c_id and trim(both from a_id) = cRec.a_id and trim(both from g_id) = cRec.g_id and trim(both from e_date) = cRec.e_date and trim(both from t_date) = cRec.t_date and f_key = inFKey and s_f_key = inSFKey; all variables are of type varchar2 except f_key, s_f_key which are of integer type Thanks. |
#4
| |||
| |||
|
|
Your Oracle installation doesn't have a version number and, apparently, EXPLAIN PLAN is not working. ;-) |
![]() |
| Thread Tools | |
| Display Modes | |
| |