|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by ram_trb in Oracle 10.x, Oracle SCM
Hi, am using index in oracle for performance, still its taking some time, can anyone suggest me some options to improve it.
I have four tables.
EMP_DETIALS 50000
EMPLOYEE 160000
EMPMASTER 4000
EMPCODEDETAILS 4307000
I want to get records combining four tables with some criterias.. qry will be something like this
SELECT DISTINCT(C.EMPID) FROM EMPMASTER A, EMPCODEDETAILS B, EMPLOYEE C, EMP_DETIALS D WHERE A.EMPMASTERID = B.EMPMASTERID AND B.EMPCODE = C.NDC AND C.EMPID = D.EMPID AND C.STATUS_FLAG ='A' AND A.EMPTYPE = 'EXECUTIVE' AND A.EMPMASTERTYPE = 'EMP' AND A.STATUS=0 AND A.LISTDATE <= SYSDATE AND LOWER(D.EMPNAME' '||D.EMPINTIAL||' '||D.EMPGRAGE) LIKE 'Doe%')
Can i write some inner qrys but tat too taking some time..
Please advice me..
Thank you
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625