Subject Re: error when execute script in isql
Author Ronaldo Rezende Vilela Luiz
I already resolved this problem putting an empty line on the end of
the sql script.

--- In firebird-support@yahoogroups.com, "Ronaldo Rezende Vilela Luiz"
<ronaldinho79@b...> wrote:
>
> What's the problem? The script historico.sql has been executed with
> sucess, but this error is genereated all times when I use the isql.
> The commands of script has been executed in the database.
>
> C:\sig_aluguel>isql dados.fdb -u SYSDBA -p dba1379 -i historico.sql
> Expected end of statement, encountered EOF
>
> historico.sql
> CREATE TABLE CURSO (CURSO_ID INTEIRO_PEQUENO NOT NULL, NOME TEXTO_80
> NOT NULL);
> alter table CURSO add constraint PK_CURSO primary key (CURSO_ID);
> CREATE GENERATOR GEN_CURSO_ID;