Re: Embedded SQL
Posted in 1995
Clem Akins (cwakins@leia.alloys.rmc.com) wrote:
: You could also do something like:
: $ run_shell_to_build_sql_statement.sh
: $ cat sql_statement.sql | isql dbname
An alternative to the second line above would simply be:
$ isql dbname sql_statement
The ".sql" in the filename "sql_statement.sql" can be omitted. If
you don't have isql, just substitute "dbaccess" for it. I have no idea
whether Clem's version or mine is more effective or whether it doesn't
make any difference at all.
Regards, Richard
--
+----------------------------+-------------------------------------------+
| Dr. Richard Spitz | INTERNET: spitz@ana.med.uni-muenchen.de |
| EDV-Gruppe Anaesthesie | Tel : +49-89-7095-3421 |
| Klinikum Grosshadern | FAX : +49-89-7095-8886 |
| 81366 Munich, Germany | |
+----------------------------+-------------------------------------------+