Search Results

Search: Posts Made By: peter35james
3,368
Posted By peter35james
PORT=`${EFG_ISQL} -b <<-! set nocount on use...
PORT=`${EFG_ISQL} -b <<-!
set nocount on
use ${EFG_DB}
go
select portId from PORTFOLIO
go
!`

echo $PORT

for Portfolio in $PORT
do
........................
done


The input is...
29,501
Posted By peter35james
What if we are not sure about the lenght for eg...
What if we are not sure about the lenght for eg the var can be

aaa_bbb_ccc_ddd.abc
or aaa_bbb.abc
or aaa.abc
3,368
Posted By peter35james
Use of For loop with Space
Hi,

I am trying to query the database to get the list of portfolio and for each portfolio, I am using the for loop, but the problem is some of the portfolio is having the spaces.

The Code
...
Showing results 1 to 3 of 3

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