![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| compare 2 outputs | melanie_pfefer | Shell Programming and Scripting | 1 | 05-21-2008 10:20 AM |
| Multiline Grep | tolmark | UNIX for Dummies Questions & Answers | 4 | 03-14-2008 12:31 AM |
| transforming a multiline record to single line | anju | Shell Programming and Scripting | 9 | 01-14-2008 07:55 AM |
| Awk Compare Files w/Multiline Records | RacerX | Shell Programming and Scripting | 4 | 12-21-2007 06:05 AM |
| Printing outputs using awk. | Krrishv | Shell Programming and Scripting | 4 | 01-09-2007 07:31 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
handling Multiline SQL outputs
Hi, I'm using KSH and calling a SQL statement inside my script which returns more than 1 record. Code:
Result=`sqlplus -s $DB_USER/$DB_PWD@$DB_STRING <<END set echo off set head off spool junk.txt select Name from abc where job = 'Manager'; spool off exit; END` echo $Result The above SQL returns 3 names as: Quote:
Quote:
Quote:
Thanks in advance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|