Help Center/
GaussDB/
Developer Guide(Distributed_8.x)/
Application Development Guide/
ECPG-based Development/
Error Handling
Updated on 2024-06-03 GMT+08:00
Error Handling
There are two non-exclusive methods to handle errors and warnings in an embedded SQL program:
- Callbacks can be configured to handle errors or warnings using the WHENEVER command.
- Detailed information about the errors or warnings can be obtained from the sqlca variable.
Parent topic: ECPG-based Development
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot