Dear Firebird Developers,
I hope you can help me solve a migration issue. After upgrading my Firebird 2.5 database to version 5.0.1, I've encountered a strange situation:
When I execute the statement "update set a=1, b=a+1", and the initial value of a is 0, the final result for b is 1, instead of the expected 2.
I suspect this is due to Firebird 5.0 defaulting to use SQL Dialect 3.
I would like to know how I can resolve this problem? I do not want to modify the existing program code, but rather set the database to default to using SQL Dialect 1. Would this resolve the issue I'm experiencing?
Please provide some suggestions and assistance, I would be greatly appreciative.
Thank you!