Subject | what would a batch file look like to... |
---|---|
Author | C.J. |
Post date | 2006-04-21T15:17:36Z |
1. add a user to the security database.
2. create a database with that user.
My goal is to make it easy for the end user to build the database
correctly with minimal input.
I figure a batch script would work well and so created a builddb.bat
file.
I'm guessing the script should start buy making a connection to the
gsec tool and adding the user. The second step would be to, connect to
isql as that user and build the database based on an sql file. Is this
correct...
============================= example batch
"C:\Program Files\Firebird\Firebird_1_5\bin\gsec.exe" -add batch_user -
password test
"C:\Program Files\Firebird\Firebird_1_5\bin\isql.exe" -i createdb.sql
----------------------------- FIN
2. create a database with that user.
My goal is to make it easy for the end user to build the database
correctly with minimal input.
I figure a batch script would work well and so created a builddb.bat
file.
I'm guessing the script should start buy making a connection to the
gsec tool and adding the user. The second step would be to, connect to
isql as that user and build the database based on an sql file. Is this
correct...
============================= example batch
"C:\Program Files\Firebird\Firebird_1_5\bin\gsec.exe" -add batch_user -
password test
"C:\Program Files\Firebird\Firebird_1_5\bin\isql.exe" -i createdb.sql
----------------------------- FIN