Which script block has the error
Posted: 21.05.2013, 21:53
I would like to know how TZSQLProcessor works internaly. Is there any way of getting which was the script block that has the error ? Does the TZSQLProcessor has a block count property ? I have Oracle components that identifies the block id which has raised the exception.
I guess TZSQLProcessor keeps the blocks in a TStrings descendant and executes each block at a time making a loop from the first to the last block. So it is possible to catch the block order on the TZSQLProcessor code. Is that right ?
Best regards.
I guess TZSQLProcessor keeps the blocks in a TStrings descendant and executes each block at a time making a loop from the first to the last block. So it is possible to catch the block order on the TZSQLProcessor code. Is that right ?
Best regards.