How crete stored procedure with query
Posted: 14.05.2009, 17:26
DM1.Qs1.Close;
DM1.Qs1.SQL.Clear;
DM1.Qs1.SQL.Add('CREATE PROCEDURE UPD_DOB (IPARAM INTEGER) AS BEGIN '+
' UPDATE TABELA1 SET SALDO = :IPARAM; EXIT; END ');
DM1.Qs1.ExecSQL;
DM1.ZCs.Commit;
I use ZEOSDBO-6.6.3-stable
LAZARUS
FireBird
Problem i is :IPARAM
Program crashed in DM1.ZCs.Commit;
Thanks
How crete stored procedure with query
DM1.Qs1.SQL.Clear;
DM1.Qs1.SQL.Add('CREATE PROCEDURE UPD_DOB (IPARAM INTEGER) AS BEGIN '+
' UPDATE TABELA1 SET SALDO = :IPARAM; EXIT; END ');
DM1.Qs1.ExecSQL;
DM1.ZCs.Commit;
I use ZEOSDBO-6.6.3-stable
LAZARUS
FireBird
Problem i is :IPARAM
Program crashed in DM1.ZCs.Commit;
Thanks
How crete stored procedure with query