posted 19 years ago
I have stored procedure which takes in a bunch of paramaters and inserts a row in a table. When one of the parameters happens to be larger than the size of the column of the database table I am gettting back an error whose decription is "value trying to insert is larger than the column size". It takes me some time figuring out which column it is complaining about. We are going to do some validation at the UI but I was curious to knwo if there is a way to get back the name of the column in the error message. Can we force Oracle to give more descriptive error which includes the name of the column?
Thanks,
Vasu