Hi,

I am fetching the record from database using isql in Korn Shell Script.

result=isql -U -P -S << EOF
select * 
go
EOF`

I got the result.
but Iwant result in proper format.
i.e

field1=  field2=  field3

I am considering the result as ARRAY and trying to accesss ${array[0]} like this...
but not getting any value...

I need help in this.. How can I use $result to print in proper format.

Sandhya.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.