Search Results

Search: Posts Made By: preethi87
1,459
Posted By preethi87
Sorry team , let me provide more info.. ...
Sorry team , let me provide more info..
1.Firstly, it checks for the sql db connection. If connection is success it will execute script/file , if not it prints connection failed and wont execute any...
1,459
Posted By preethi87
Stop script execution, when we encounter error
Team,
Im new to shell scripting please help in below issue:
Considering scenario i have 1.sql,2.sql,3.sql and 4.sql . If my second script fails my loop should come out and should not execute 3.sql...
5,902
Posted By preethi87
When i run, im getting below error: ...
When i run, im getting below error:

SP2-0734: unknown command beginning "echo "Exec..." - rest of line ignored.
SP2-0734: unknown command beginning "SQLFILE=/h..." - rest of line ignored.
5,902
Posted By preethi87
I tried as below constructing for loop outside...
I tried as below constructing for loop outside SQLplus to execute all .sql files which resides in /home/*.sql files.
Throwing an error: UNEXCPETED EOF.

#!/bin/bash
cat /dev/null > output.log...
5,902
Posted By preethi87
How to use for loop to execute multiple .sql files while using SQLPLUS for db connection.?
Hello ,

Im calling every single file inside my script like 1.sql,2.sql so on it looks so tedious. I want to replace with for loop where every file gets executed. When i use for loop im getting...
Showing results 1 to 5 of 5

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