Subject | TIBDatabase CreateDatabase default character set |
---|---|
Author | jojogeyer |
Post date | 2004-02-16T20:16:16Z |
Hi everybody,
trying to create a database with TIBDatabase. Works fine except for
the character set. I always get a dynamic SQL error -104 when I
specify a default character set.
My code is:
with IBDatabase1 do
begin
Params.Clear;
SQLDialect := 3;
DatabaseName := 'D:\julitec\julitecCONTACT\Daten\test.gdb';
Params.Add('USER "sysdba"');
Params.Add('PASSWORD "masterkey"');
Params.Add('PAGE_SIZE 4096');
Params.Add('DEFAULT CHARACTER SET ISO8859_1');
CreateDatabase;
end;
Using D7, Firebird 1.0 and 1.5 RC9.
Thanks for any help!
Johannes Geyer, Germany
trying to create a database with TIBDatabase. Works fine except for
the character set. I always get a dynamic SQL error -104 when I
specify a default character set.
My code is:
with IBDatabase1 do
begin
Params.Clear;
SQLDialect := 3;
DatabaseName := 'D:\julitec\julitecCONTACT\Daten\test.gdb';
Params.Add('USER "sysdba"');
Params.Add('PASSWORD "masterkey"');
Params.Add('PAGE_SIZE 4096');
Params.Add('DEFAULT CHARACTER SET ISO8859_1');
CreateDatabase;
end;
Using D7, Firebird 1.0 and 1.5 RC9.
Thanks for any help!
Johannes Geyer, Germany