Hi Jiri,
As far as I know you can execute a procedure with return parameters and just ignore the return value, like EXECUTE PROCEDURE DoThis('a');
But when including that in a block it fails complaining about the return parameter.
EXECUTE BLOCK AS BEGIN
EXECUTE PROCEDURE
DoThis('a');
INSERT INTO FOO(A) VALUES ('a');
END
I use
var script = new FirebirdSql.Data.Isql.FbScript(block);
script.Parse();
var fbe = new FirebirdSql.Data.Isql.FbBatchExecution(Connection as FbConnection);
fbe.AppendSqlStatements(script);
fbe.Execute();
Is this expected? Or is it FirebirdClient? Or the Firebird engine?
/M