### Is there an existing issue for this? - [x] I have searched the existing issues ### Category of Bug / Issue Converter bug ### Current Behavior The code has invalid variable declaration, missing end of statement semicolon and incorrect handling of SQL exceptions. [UCP.sql](https://github.com/user-attachments/files/22519194/UCP.sql) [UCP_output.sql](https://github.com/user-attachments/files/22519195/UCP_output.sql) ### Expected Behavior _No response_ ### Steps To Reproduce _No response_ ### Relevant log output or Exception details ```shell ``` ### Logs Confirmation - [ ] I ran the command line with `--debug` - [ ] I have attached the `lsp-server.log` under USER_HOME/.databricks/labs/remorph-transpilers/<converter_name>/lib/lsp-server.log ### Sample Query ```shell ``` ### Operating System macOS ### Version latest via Databricks CLI