Search found 6 matches

by Bottleneck
15.06.2007, 08:00
Forum: Firebird
Topic: Problem with insert
Replies: 14
Views: 4925

Hello Rogier21 Use MapsTable.Append; MapsTable.FieldByName('ID').AsInteger:= 0 or -1 ; MapsTable.FieldByName('Description').AsString:='test'; MapsTable.Post; or as SQL INSERT INTO maps (id,description) VALUES(0, 'test'); or INSERT INTO maps (description) VALUES('test'); together with the trigger: CR...
by Bottleneck
14.06.2007, 20:05
Forum: Firebird
Topic: Problem with insert
Replies: 14
Views: 4925

Hello Rogier21 I use Firebird with Triggers like you since years and never had problems. I created my tables with triggers like the following CREATE TRIGGER Trg_Sec_User_GenID FOR Users ACTIVE BEFORE INSERT AS begin /* this creats a unique userid at every insert */ if ( (NEW.US_LFDNr is null) OR (NE...
by Bottleneck
13.06.2007, 19:21
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Firebird 2.0 Errors
Replies: 4
Views: 1476

Hello everybody to create a new Database try this code. Put Create string into connection properties. Works fine with Firebird. ZConnection1.Database := 'd:\db1.fdb'; ZConnection1.Protocol := 'firebird-1.5'; ZConnection1.Properties.Add ('CreateNewDatabase=CREATE DATABASE ' + QuotedStr ('d:\db1.fdb')...
by Bottleneck
13.06.2007, 18:26
Forum: Firebird
Topic: Non Zeos ALTER TABLE question
Replies: 1
Views: 1378

Hello cariad, this is one of my SQL scipts to add a field and change the position of this field. SET NAMES ISO8859_1; alter Table ICenter ADD IC_Kenn VARCHAR(24) CHARACTER SET ISO8859_1 DEFAULT '?' NOT NULL; COMMIT WORK; Alter Table ICenter alter IC_Kenn POSITION 5; Commit work; Greetings Peter
by Bottleneck
13.06.2007, 18:09
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: blob field
Replies: 3
Views: 1262

Solution for BlobError while writing Blobs with size 18K

Hello pbturner Had the same problem while writing BLOBs grater 18k to Firebird. Postet that probem 2005. No Fix until now. My solution worked for the last two years without problems. Look for Procedure "ReadBlobBufer" in File "ZDbcInterbase6Utils.pas" Insert following two lines b...
by Bottleneck
05.06.2007, 16:52
Forum: MS SQL Server
Topic: how to connect the ms sql server 2K on ubuntu system?
Replies: 18
Views: 7912

Hello charles_zou,

download following file

http://www.galileocomputing.de/dateien/ ... stenID-243

Save in "windows\system32" directory. Should work now.