[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Data packs
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Data packs |
Date: |
Tue, 6 Sep 2011 16:13:15 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Sep 05, 2011 at 10:09:04PM -0700, Jim Busser wrote:
> Can gmPsql.py support a variation of direct SQL in which gmPsql.py is pointed
> to 'install-data-pack.sql' which could then itself references one or more sql
> files in the same top level of the .zip archive (since extracted) for example
>
> install-data-pack.sql --> references the following
> prepare-staging.sql
> insert-or-update-values-1.sql
> insert-or-update-values-2.sql
> insert-or-update-values-3.sql
> complete-job.sql
I just checked,
doing
\i insert-or-update-values-1.sql
does indeed seem to work given that
insert-or-update-values-1.sql lives in the same directory as
does the file including the \i-instruction.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
[Gnumed-devel] Data packs, Jim Busser, 2011/09/24