Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

no data condition with dynamic result set - response (2) by j355ga

$
0
0

Did some testing and the NOT FOUND handler does not trigger for a dynamic result set.
When the NOT FOUND handler is removed then the update returns a run time error: invalid statement specified in a dynamic declare cursor.
Seems counter intuitive that NOT FOUND is triggered for run-time errors.  The manual says "NOT FOUND is a generic condition that represents the SQLSTATE codes for all 'no data
found' completion conditions." 
Thanks


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>