Subject | ISQL -i usage Expected End of Statement, encountered EOF |
---|---|
Author | verbguy |
Post date | 2004-07-26T14:09:28Z |
This should be a simple thing to resolve, but I just can't figure it
out. :)
You should be able to use "isql -i file.sql" to run isql in batch
mode and process the sql commands found in file.sql.
However, when I try this, I get the message below:
C:\fbdata>isql foo2.fdb -i t.sql
Expected end of statement, encountered EOF
What am I forgetting?
Contents of t.sql:
C:\fbdata>cat t.sql
create table t (i integer, c char(10) );
commit;
exit;
C:\fbdata>
out. :)
You should be able to use "isql -i file.sql" to run isql in batch
mode and process the sql commands found in file.sql.
However, when I try this, I get the message below:
C:\fbdata>isql foo2.fdb -i t.sql
Expected end of statement, encountered EOF
What am I forgetting?
Contents of t.sql:
C:\fbdata>cat t.sql
create table t (i integer, c char(10) );
commit;
exit;
C:\fbdata>