Search found 9 matches
- 09.11.2010, 02:05
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Stored Procedure Output parameter
- Replies: 1
- Views: 441
found the answer. use TZStoredProc built for this very reason. proc := TZStoredProc.Create(nil); proc.StoredProcName := 'PROC_DO_ICD'; proc.ParamByName('INID_FLT').AsInteger := serverid; proc.ParamByName('INTY_ICD').AsInteger := Ord(icd); proc.ParamByName('INID_ICD_TO').AsInteger := ParentDoc; proc....
- 08.11.2010, 08:05
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Stored Procedure Output parameter
- Replies: 1
- Views: 441
Stored Procedure Output parameter
How do I get a resultant parameter from a stored procedure: CREATE PROCEDURE PROC_DO_ICD (INID_FLT T_IDENTITY ,INTY_ICD TY_SRC ,INID_ICD_TO T_IDENTITY ,INDE_DO_ICD T_DESCRIPTIONSHORT ) RETURNS ( OUTID_ICD_TO T_IDENTITY ) calling the below statement EXECUTE PROCEDURE MY_PROC_DO_ICD 2, 2,0,"Invoi...
- 28.09.2010, 02:12
- Forum: User Patches
- Topic: [patch_done] Patch for Delphi XE compatibility
- Replies: 9
- Views: 3214
- 13.09.2010, 23:47
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
- Replies: 97
- Views: 29152
- 13.09.2010, 06:42
- Forum: User Patches
- Topic: [patch_done] Patch for Delphi XE compatibility
- Replies: 9
- Views: 3214
- 13.09.2010, 04:24
- Forum: User Patches
- Topic: [patch_done] Patch for Delphi XE compatibility
- Replies: 9
- Views: 3214
- 12.08.2010, 01:14
- Forum: Firebird
- Topic: Creating Stored Procedures in Firebird
- Replies: 5
- Views: 911
Success! 1. I wrote my own proc to seperate out SQL's 2. I called the below: try stmt := FConDB.DbcConnection.CreateStatement; stmt.ExecuteUpdate(slSQL.Text); except on E:Exception do begin result := False; GenerateSQLError(slSQL,SQLName,E.Message); end; end; stmt:=nil; So much troubles now resolved...
- 12.08.2010, 00:11
- Forum: Firebird
- Topic: Creating Stored Procedures in Firebird
- Replies: 5
- Views: 911
Unfortunately this does not solve my problem even with your stored proc. I get the same problem. I am using your suggestion: Dynamic SQL Error SQL error code = -104 Token unknown - line 14, column 15 then. Error Code: -104. Invalid token With storedprocs I get Dynamic SQL Error SQL error code = -104...
- 11.08.2010, 08:17
- Forum: Firebird
- Topic: Creating Stored Procedures in Firebird
- Replies: 5
- Views: 911
Creating Stored Procedures in Firebird
I cannot at any time create a firebird stored procedure using
any ZeosLib component. I have tried them all.
My stored procedures compile nicely in Database WorkBench, IBOConsole.
But I cannot get ZeosLib to create them
Has anyone else had this problem?
any ZeosLib component. I have tried them all.
My stored procedures compile nicely in Database WorkBench, IBOConsole.
But I cannot get ZeosLib to create them
Has anyone else had this problem?