Search Results

Search: Posts Made By: Alaeddin
62,565
Posted By Alaeddin
Hi, Well it dosen't Regards
Hi,

Well it dosen't

Regards
62,565
Posted By Alaeddin
Hi Guys, Any Help !!! Regards
Hi Guys,

Any Help !!!

Regards
62,565
Posted By Alaeddin
Hi, Already tried that before dude, man i...
Hi,

Already tried that before dude, man i tried to put EOF every where and still the same:

affectedRow=`cat dbOutput.log | grep "1 row affected"`
echo "affectedRow : $affectedRow"

if [...
62,565
Posted By Alaeddin
Hi, i tried as u told me: ...
Hi,

i tried as u told me:

affectedRow=`cat dbOutput.log | grep "1 row affected"`
echo "affectedRow : $affectedRow"

if [ "$affectedRow" == "" ]; then
echo "Look to the next OMCDB"
...
62,565
Posted By Alaeddin
Hi, May you tell me where exactly to put it,...
Hi,

May you tell me where exactly to put it, cause i tried it in many palces, and still the same :S !!

regards
62,565
Posted By Alaeddin
syntax error: unexpected end of file
Hi,

I need ur help is this matter, i have th ebelow script, and i keep getting this error: syntax error: unexpected end of file

affectedRow=`cat dbOutput.log | grep "1 row affected"`
echo...
4,802
Posted By Alaeddin
Hey Guys, please help in That .... !!!
Hey Guys, please help in That .... !!!
4,802
Posted By Alaeddin
Hey Guys, any Advice please .... !!!!
Hey Guys, any Advice please .... !!!!
23,047
Posted By Alaeddin
Kindly refere to the below post, if you have any...
Kindly refere to the below post, if you have any advice on it !!!!

Post: "Print out loop index on the console after executing each sybase DB query "
4,802
Posted By Alaeddin
Print out loop index on the console after executing each sybase DB query
Hello Guys,

Well, using shell script, I'm doing loop on DB query as below:

isql -Usa -Ptest -I /opt/sybase/interfaces << EOF
use testdb
go
declare @i int
select @i = 1
while(@i <= 5)...
23,047
Posted By Alaeddin
Sure, Well, the isql command enable the...
Sure,

Well, the isql command enable the sybase DB connection.

isql -Usa -Ptest -I /opt/sybase/interfaces << EOF

isql: is to access the sybase DB
-U : User name
-P : password
-I : Is the...
23,047
Posted By Alaeddin
Hey Vicky :), Finally it works now,...
Hey Vicky :),

Finally it works now, appreciate it so so much dear.
Beside i tried it directly for the connection as below:

#=======================================================
# Get the...
23,047
Posted By Alaeddin
Thanks Johan, but i'm planning to use perl as a...
Thanks Johan, but i'm planning to use perl as a Plan B, if i totally screwed up with Shell. "I'll revert to you on this as well once testing".

Hey Vicky :),

Thanks for your response, i want to...
23,047
Posted By Alaeddin
Guys, any feedback or Help . . . . !!!!! :-)
Guys, any feedback or Help . . . . !!!!! :-)
23,047
Posted By Alaeddin
Dynamic update loop query on Sybase database
Hello Guys,

I'm new to Shell scripting, and i need someone to help me with this issue:

I'm trying to do a dynamic update query on Sysbase database table using shell script.

Lets say, the...
Showing results 1 to 15 of 15

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