Page 1 of 1

Which script block has the error

Posted: 21.05.2013, 21:53
by jjeffman
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.

Posted: 21.05.2013, 22:10
by jjeffman
Never mind. I have got it by myself.

Thank you very much.