Subject | Re: [firebird-support] running isql -i to excecute a script |
---|---|
Author | Pavel Menshchikov |
Post date | 2005-02-24T05:45:12Z |
Hello Richard,
R> Hi,
R> I am try to create a database, using the code below, and can do it
R> manually, but when I try and put it in a test.sql file, and then execute
R> "isql -i test.sql" I am getting the following error:
R> "Expected end of statement, encountered EOF"
R> the code in my test.sql file is as follows
R> CREATE DATABASE '192.168.0.199:e:\test.fdb' page_size 8192 user 'SYSDBA'
R> password 'masterkey'
Add ';' in the end, and probably CRLF after that.
HTH
--
Best regards,
Pavel Menshchikov
http://www.ls-software.com
R> Hi,
R> I am try to create a database, using the code below, and can do it
R> manually, but when I try and put it in a test.sql file, and then execute
R> "isql -i test.sql" I am getting the following error:
R> "Expected end of statement, encountered EOF"
R> the code in my test.sql file is as follows
R> CREATE DATABASE '192.168.0.199:e:\test.fdb' page_size 8192 user 'SYSDBA'
R> password 'masterkey'
Add ';' in the end, and probably CRLF after that.
HTH
--
Best regards,
Pavel Menshchikov
http://www.ls-software.com