Search found 11 matches
- 24.11.2008, 12:59
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How to create a Stored Procedure at runtime ?
- Replies: 5
- Views: 2717
SOLUCTION FOUND!! I need use Zquery with ParamCheck property = false. I don't know what does ParamCheck mean but if I set it = false my code works correctly: StoProc:=TStringList.Create; StoProc.add('CREATE PROCEDURE NOME (CRCURL BIGINT) RETURNS (URL VARCHAR(100))'); StoProc.add('AS'); StoProc.add('...
- 24.11.2008, 12:39
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How to create a Stored Procedure at runtime ?
- Replies: 5
- Views: 2717
I tried but I've same issue with ZSQLProcessor also. This is my code: StoProc:=TStringList.Create; StoProc.add('CREATE PROCEDURE NOME (CRCURL BIGINT) RETURNS (URL VARCHAR(100))'); StoProc.add('AS'); StoProc.add('DECLARE VARIABLE aCRCDominio BIGINT; '); StoProc.add('DECLARE VARIABLE aCRCPercorso BIGI...
- 22.11.2008, 22:02
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How to create a Stored Procedure at runtime ?
- Replies: 5
- Views: 2717
How to create a Stored Procedure at runtime ?
I'm using Firebird, how can I create a Stored Procedure in a database with zeos ?
I tried using zquer.sql.add and zquery.exec but if the procedure is too long I receive error.
Thank You
I tried using zquer.sql.add and zquery.exec but if the procedure is too long I receive error.
Thank You
- 19.11.2008, 12:14
- Forum: Feature Requests
- Topic: How can I perform SWEEP by zeoslib API ?
- Replies: 4
- Views: 3042
- 18.11.2008, 18:24
- Forum: Feature Requests
- Topic: How can I perform SWEEP by zeoslib API ?
- Replies: 4
- Views: 3042
How can I perform SWEEP by zeoslib API ?
I need to perform manually sweep my embedded database using zeoslib.
How can I ?
Thank you
How can I ?
Thank you
- 18.11.2008, 18:22
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Read blob fields in Firebird.
- Replies: 4
- Views: 2871
- 07.11.2008, 09:24
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Read blob fields in Firebird.
- Replies: 4
- Views: 2871
- 06.11.2008, 14:40
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Read blob fields in Firebird.
- Replies: 4
- Views: 2871
Read blob fields in Firebird.
If I do:
SELECT myblobvalue FROM mytable WHERE id=2
I receive a null answer.
How can I do ?
Thank You
SELECT myblobvalue FROM mytable WHERE id=2
I receive a null answer.
How can I do ?
Thank You
- 21.07.2008, 17:46
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How can I translate CAST ( ... AS BINARY) into Firebird lang
- Replies: 1
- Views: 633
How can I translate CAST ( ... AS BINARY) into Firebird lang
I used with mysql this syntax
CAST (0x... AS BINARY) but now with Firebird it doesn't work ?
How can I do ?
Thank you
CAST (0x... AS BINARY) but now with Firebird it doesn't work ?
How can I do ?
Thank you
- 11.07.2008, 19:14
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ErrorCode -607 when creating tables (Lazarus+Zeos+Firebird)
- Replies: 1
- Views: 681
Probably I discovered what happened, using TZSQLMonitor I received this message: 2008-07-11 20.07.09 cat: Transaction, proto: firebirdd-2.0, msg: unsuccessful metadata update PROV2 CHARACTER SET ISO8859_1 is not installed, errcode: -607, error: This operation is not defined for system tables. How ca...
- 11.07.2008, 13:41
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ErrorCode -607 when creating tables (Lazarus+Zeos+Firebird)
- Replies: 1
- Views: 681
ErrorCode -607 when creating tables (Lazarus+Zeos+Firebird)
I'm using firebirdd-2.0 protocol (but I tried also with 1.5), Zeos 6.5.1 and Lazarus 0.9.24. This is my code: procedure TForm1.Button2Click(Sender: TObject); begin ZConnection1.User:='sysdba'; ZConnection1.Password:='masterkey'; if not ZConnection1.Connected then begin ZConnection1.Database := 'db1....