Hi
Is it possible to create a new database using Zeos?
I want to create a new Firebird database.
Regards
Sandeep
Creating new database
Moderators: gto, cipto_kh, EgonHugeist
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Just have a look around on the forum. I'm sure there is more info. (try keywords create, database and firebird.
eg. http://zeos.firmos.at/viewtopic.php?t=670
Mark
eg. http://zeos.firmos.at/viewtopic.php?t=670
Mark
-
- Fresh Boarder
- Posts: 9
- Joined: 13.10.2006, 17:09
ZConnection1.Database := 'd:\db1.fdb';
ZConnection1.Protocol := 'firebird-1.5';
ZConnection1.Properties.Add ('CreateNewDatabase=CREATE DATABASE ' +
QuotedStr ('d:\db1.fdb') + ' USER ' +
QuotedStr ('sysdba') + ' PASSWORD ' + QuotedStr ('masterkey') +
' PAGE_SIZE 4096 DEFAULT CHARACTER SET ISO8859_1');
ZConnection1.Connect;