A Language is not worth knowing unless it teaches you to think differently.
Tuesday, June 4, 2013
Call sql files in Shell Script
Need to check the parameter (if parameter is passing to sql file)
Syntax
sqlplus ${FCP_LOGIN} @’SQLFILE_NAME’ p1 p2
Check the return code status
sql file must end with exit statement
Example :
sqlplus ${FCP_LOGIN} @/sql/sample.sql
If [ “$?” = 0 ] ; then
echo –e “sql statement is successfully executed”
fi
Subscribe to:
Post Comments (Atom)
Item - Category Query
SELECT msi.segment1 AS Item_Code, msi.DESCRIPTION AS Item_Desc, mcs.CATEGORY_SET_NAME, mck.CONCATENATED_SEGMEN...
-
1. To download Ldt file for a Concurent Program FNDLOAD [username]/[password] O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_nam...
-
The profile information available in the HZ_CUSTOMER_PROFILES can be created in three levels namely Party, Customer Account and Customer...
-
Here the article will describe about how to register WebADI to Responsibility menu Go to System Administrator --> Security --> Respo...
No comments:
Post a Comment