howto open firebird database exclusive
Posted: Mon 15 Aug 2011 19:29
How can I open a firebird database with ibdac in order to add new fields or tables?
Discussion forums for open issues and questions concerning database tools, data access components and developer tools from Devart
https://forums.devart.com/
Code: Select all
var
IBCConnection: TIBCConnection;
begin
IBCConnection := TIBCConnection.Create(nil);
IBCConnection.Username := 'LOGIN';
IBCConnection.Password := 'PASSWORD';
IBCConnection.Server := 'SERVER';
IBCConnection.Database := 'D:\Path\To\Data\TEST.FDB';
IBCConnection.Connect;
IBCConnection.ExecSQL('ALTER TABLE TEST ADD NEW_FIELD SMALLINT',[]);