Hi,
I created a script (Unix/Linux only at the moment) called 'mkdb' for use with our application deployment. We use the Firebird RDBMS and thought this might come in handy for others as well.
It creates a Firebird database, creates the tables. Optionally it creates Views, applies table rights and inserts default data. All database information is read from sql script files: create.sql, views.sql, rights.sql, defaults.sql
The script (mkdb) also takes three optional parameters:
- database location
- database username
- database password
I hope someone finds this useful. :)
Regards,
- Graeme -
_______________________________________________________ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed... Name: mkdb
Url: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080430/ec28dca8/attachment-0001.pl
