Subject Re: [firebird-support] Re: how to create database using command line without an interactive isql
Author Lele Gaifax
On Wed, 06 Feb 2008 15:12:30 +0100
Milan Babuskov <milanb@...> wrote:

> It's a single line, watch for wrapping:
>
> echo "CREATE DATABASE '/work/working.gdb';" | /opt/firebird/bin/isql
> -user sysdba -pass ****
>

And the quotes: CREATE DATABASE wants double quotes, not singles.

echo 'CREATE DATABASE "/work/working.gdb";' | /opt/firebird/bin/isql
-user sysdba -pass ****

hth, ciao lele
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@... | -- Fortunato Depero, 1929.