Zsqlprocessor1 error commit work
Zsqlprocessor1 error commit work
Error commit work; in firebird SQL script
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Zsqlprocessor1 error commit work
Hello,
could you please try to create a sample project that shows the error? I use Firebird on a daily basis with TZSQLProcessor and for me it works.
Best regards,
Jan
could you please try to create a sample project that shows the error? I use Firebird on a daily basis with TZSQLProcessor and for me it works.
Best regards,
Jan
Re: Zsqlprocessor1 error commit work
do the following and put it at the end of the firebird sql script
commit work;
commit work;
Re: Zsqlprocessor1 error commit work
exemple
Code: Select all
update table set id = 1;
commit work;
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Zsqlprocessor1 error commit work
You are not supposed to use commit in the script.
Call TZConnection.Commit after you executed the script successfully.
Call TZConnection.Commit after you executed the script successfully.
Re: Zsqlprocessor1 error commit work
OK thanks