Search Results

Search: Posts Made By: ryukishin_17
2,176
Posted By ryukishin_17
Why does my for loop does not work right in ksh?
hi all,

i have a for loop statement in my ksh code. it only returns the first value retrieved not the value for the other rows.

ex: acct_id value = returned value in the for loop
1 ...
3,460
Posted By ryukishin_17
how to pass a variable to an update sql statement inside a loop
hi all,

i am experiencing an error which i think an incorrect syntax for the where clause passing a variable was given. under is my code.

sqlplus -s ${USERNAME}/${PASSWORD}@${SID} << END1 >>...
1,369
Posted By ryukishin_17
How to format a character to look like an amount -solved
Hi All,

I want to format the retrieved varchar2 value in the database to $9,999,999,990.00 but remained as a character value. Is it possible?

Example: 378273.23 to $378,273.23

below is the...
14,122
Posted By ryukishin_17
thanks pludi and bakunin. the solution you gave...
thanks pludi and bakunin. the solution you gave worked :)
14,122
Posted By ryukishin_17
Hi pludi, thanks for replying, i do what you...
Hi pludi,

thanks for replying, i do what you had said giving this input:

sqlplus -s ${USERNAME}/${PASSWORD}@${ORACLE_SID} <<EOF

but the same error still occurs
14,122
Posted By ryukishin_17
How to call an sql script inside a while statement in KSH
Hi all,

I'm trying to run an sql inside a loop which looks like this

#!bin/ksh
while IFS=, read var1 var2
do

sqlplus -s ${USERNAME}/${PASSWORD}@${ORACLE_SID} << EOF
insert into...
2,389
Posted By ryukishin_17
just go to this link...
just go to this link https://www.unix.com/newthread.php?do=newthread&f=30
40,715
Posted By ryukishin_17
How to remove the first character on a string in a variable
Hi all,

Does anyone know how to code in ksh that will remove the first character in a string variable and replace that variable without the first character?

Example:

var1=ktest1 will become...
2,389
Posted By ryukishin_17
Thanks for the help. I got the solution. I only...
Thanks for the help. I got the solution. I only removed the space in the coding from appointmentDate[recordNumber] = $(echo ${appointmentDate[recordNumber]}|sed -e 's/\"//g') to...
2,389
Posted By ryukishin_17
How to remove a defined character on an array variable in a do while statement in ksh
I have a korn shell code here on a while do statement which replace the string stored on an array removing double quotes characters on it but it doesn't work.

example record: appointmentDate[1] =...
Showing results 1 to 10 of 10

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