![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| get values from isql query | DebianJ | Shell Programming and Scripting | 3 | 06-27-2008 03:52 AM |
| C Shell Script query | bpupdown | Shell Programming and Scripting | 1 | 05-13-2008 04:38 PM |
| A simple query on unix shell script | shekhar_ssm | Shell Programming and Scripting | 2 | 01-23-2008 08:41 AM |
| sql query results in unix shell script | skyineyes | UNIX for Dummies Questions & Answers | 1 | 06-20-2007 07:56 AM |
| isql in shell script help | mrviking | Shell Programming and Scripting | 2 | 06-09-2006 02:11 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
isql query in unix shell script
Dear all
I want to execute some isql command from unix shell script. Kindly suggest me. isql command mention below. isql -U -P use gdb_1 go select count (*) from table_x go |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Do you mean
Code:
#!/bin/sh isql -U -P <<EOF use gdb_1 go select count (\*) from table_x go EOF |
|
#3
|
|||
|
|||
|
what does mean by <<EOF and EOF at last statement.
|
|
#4
|
|||
|
|||
|
It means use everything between these two tags as stdin.
|
|||
| Google The UNIX and Linux Forums |