Question

3
Replies
178
Views
VenkatRamanM Member since 2013 11 posts
TCS
Posted: 4 years ago
Last activity: 4 years 3 months ago
Closed
Solved

How to get the DB errors from Exception and separate into sqlcode and error description

I have a requirement where, if user provides invalid data, we need to capture the SQL error produced by the invalid data and show back to user.I want to capture the SQLCODE, MSGCODE returned by the SQL error. How can i achieve and show the message back to user

 

***Updated by Moderator: Vidyaranjan. Removed user added #helpme tag. Apologies for confusion, shouldn't have been an end-user option***

Data Integration
Moderation Team has archived post
Share this page LinkedIn