Sample Header Ad - 728x90

Does Oracle PL/SQL have a standard ASSERT routine?

17 votes
2 answers
8150 views
I'd like to use an ASSERT routine functionally similar to the one found in other languages, i.e. a construct (be it a procedure, syntax...) ASSERT( , ) such that when the ` passed in the first argument is false an exception is raised with the specified ` descriptive message. I know this is trivial to do by hand but **I'm asking if there's a standard one** provided with the DBMS. Having to write my own one or import one from 3rdy-party packages would be impractical, since I'd need it to be completely portable and transparent to every project I'm working on.
Asked by user881430 (281 rep)
Sep 5, 2012, 12:30 PM
Last activity: May 7, 2024, 03:07 AM