Search Results

Search: Posts Made By: usman_oracle
3,524
Posted By usman_oracle
Ok, let me describe the requirement again and...
Ok, let me describe the requirement again and that is copy the files from one location to another and rename the copied files.
Source location and names to rename the files comes from SQL query....
3,524
Posted By usman_oracle
Actually report_path is the location where pdf...
Actually report_path is the location where pdf report is saved on server. i have to copy it to /opt/report folder. As report name is with id so i will rename with report_name.
through SQL, path and...
3,524
Posted By usman_oracle
#!/bin/sh ....
#!/bin/sh
. /opt/ora/oracle/db/tech_st/11.2.3/PROD_darwin.env
#sqlplus -s "apps/apps" << EOF
no=$(sqlplus -s apps/apps<<EOF
set heading off
set feedback off
Select ...
3,524
Posted By usman_oracle
now after removing $ script output shows Query...
now after removing $ script output shows Query results. but variable report_name and report_path shows blank. below is the output.
[oracle@darwin ~]$ . /home/oracle/scripts/test2.sh
SP2-0734:...
3,524
Posted By usman_oracle
#!/bin/sh ....
#!/bin/sh
. /opt/ora/oracle/db/tech_st/11.2.3/PROD_darwin.env
#sqlplus -s "apps/apps" << EOF
no=$(sqlplus -s apps/apps<<EOF
set heading off
set feedback off
Select ...
3,524
Posted By usman_oracle
#!/bin/sh ....
#!/bin/sh
. /opt/ora/oracle/db/tech_st/11.2.3/PROD_proddb.env
sqlplus -s "apps/apps" << EOF
no='sqlplus -s apps/apps<<EOF
set heading off
set feedback off
Select ...
3,524
Posted By usman_oracle
Help for resolving Unexpected EOF while assigning value to variable
#!/bin/sh
. /opt/ora/oracle/db/tech_st/11.2.3/PROD_proddb.env
sqlplus -s "username/password" << EOF
no='sqlplus -s username/password<<EOF
set heading off
set feedback off
Select ...
1,181
Posted By usman_oracle
Oop to copy and rename files through SQL Statement in shell Script
#!/bin/sh
sqlplus -s "/ as sysdba" << EOF
SET HEADING OFF
SET FEEDBACK OFF
Select
pt.user_concurrent_program_name , OUTFILE_NAME
FROm
apps.fnd_concurrent_programs_tl pt, ...
1,097
Posted By usman_oracle
Hi, for your queries blow is the response. Is...
Hi,
for your queries blow is the response.
Is this homework/assignment? There are specific forums for these.
This is assignment
What have you tried in your script so far?
Well, i am new...
1,097
Posted By usman_oracle
Linux Script to copy and rename files through SQL statement
Hi,

I require help to complete below requirement through Linux Script.

I have a SQL query which shows two columns as output. One is Report Name and other is report path. Query return multiple...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy