Firebird Documentation IndexFirebird 3.0 Developer's GuideThe examples.fdb Database → Saving and Running the Script
Firebird Home Firebird Home Prev: Creating the Database ObjectsFirebird Documentation IndexUp: The examples.fdb DatabaseNext: Loading Test Data

Saving and Running the Script

Save our script to a text file named examples.sql.

Now you have three choices: you can

Now, to run our script in the database created earlier:

  isql -user sysdba -password masterkey "localhost:examples" 
                                   -i "d:\examples-db\examples.sql"
        

Warning

Do not split this command!

The argument "localhost:examples" uses an alias in place of the file path. It assumes that an alias named 'examples' actually exists, of course! The -i switch is an abbreviation of -input and its argument should be the path to the script file you just saved.

Prev: Creating the Database ObjectsFirebird Documentation IndexUp: The examples.fdb DatabaseNext: Loading Test Data
Firebird Documentation IndexFirebird 3.0 Developer's GuideThe examples.fdb Database → Saving and Running the Script