Subject | Re: [firebird-support] an error in executing SQL command with Command Prompt |
---|---|
Author | Helen Borrie |
Post date | 2006-01-26T11:43:19Z |
At 10:33 PM 26/01/2006, you wrote:
the Enter key. Then save it, and run your isql command again.
./heLen
>hi. I have currently started learning SQL with Firebird, so I haveIt looks good. :-)
>little knowledge in this category. So please be advised.
>
>I have tried to execute a SQL statement, which is saved as a WordPad
>file(file name: createdb0102.sql) as shown below.
>
>
>CREATE DATABASE 'C:\temp\sample.gdb'
> USER 'SYSDBA' PASSWORD 'masterkey'
> PAGE_SIZE 8192 DEFAULT CHARACTER SET SJIS_0208;
>(by the way, I am Japanese so the database would be designed forIt's very simple: open your script file in a text editor and press
>Japanese characters.)
>
>And for execution, Command Prompt reads as follows
>
> >isql -i createdb0102.sql
>
>
>However the message shows
>
> >Use CONNECT or CREATE DATABASE to specify a database
> >Expected end of statement, encounterd EOF
>
>
>this second message is what I don`t understand. This is an error
>message isn`t it? The database I am trying to create hasn`t been
>created. I have no idea why. Could anyone help me out?
the Enter key. Then save it, and run your isql command again.
./heLen