I have a couple of queries that I want to execute withing an `EXECUTE BLOCK AS BEGIN ... END` statement.

So I go on trying with my first entry - script looks pretty simple:

```
UPDATE OR INSERT INTO MY_TABLE (ID, VALUE) VALUES ('1', 'First Entry');

```

So I run this and all works fine. Next I put it into an execute block:

```
EXECUTE BLOCK AS
BEGIN
UPDATE OR INSERT INTO MY_TABLE (ID, VALUE) VALUES ('1', 'First Entry');
END

```

And now, I get an error `104 isc_dsql_prepare failed` error on line 3 at the `;` character: `Unexpected end of command - line 4, column 70`. When I run in FlameRobin, I get the same error, but it all works just fine when I execute this exact same code in DBWorkbench...

Can anyone explain what could be the issue?

**UPDATE**
Here how I execute the block via C#:

```
 string sql = "EXECUTE BLOCK AS BEGIN .... END";
 DbLive.Open();
 FbCommand command = new FbCommand(sql, DbLive);
 command.ExecuteNonQuery();

```