Wednesday, June 29, 2011

LDT Files Generation Scripts

Hi,

Use the below commands to generat ldt files.

Concurrent Program:
-------------------------
$FND_TOP/bin/FNDLOAD apps/A4zRF5pg O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct XXHRPEN_PROG.ldt PROGRAM APPLICATION_SHORT_NAME="XXHR" CONCURRENT_PROGRAM_NAME="XXHRTOPEN"

$FND_TOP/bin/FNDLOAD apps/A4zRF5pg O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct XXBBHRPEN_PROG.ldt 
 



Tips For SQL Query Tunning

Use below tips to increase sql query performance.
1. The sql query becomes faster if you use the actual columns names in SELECT statement instead of than '*'.
EX: select * from table;
    select col1,col2,.... from table;  -- faster when compared to previous once
   
2. Try to avoid  HAVING clause to filter the records..
3. EXISTS is efficient when most of the filter criteria is in the main query.
4. IN is efficient when most of the filter criteria is in the sub-query.
5. Separate all words with a single space.
6. Use any harcoded values in last of the where clause. Because sql engine execute the statements from last.
EX: select a.*  from emp a, dept b
      where a.deptno = b.deptono
      and b.deptno = 40;