Apex API – call a package for all your DML
If you create an Apex form based on a table, Apex automatically creates processes of type Automatic Row Fetch and Automatic Row Processing (DML) as well as one item for each column in the table, each...
View ArticleDumb triggers? Let’s make ’em a bit smarter
Some time back, Connor rightly pointed out that triggers that modify data can get in the way when you need to do out-of-the-ordinary data maintenance, e.g. when you need to fix up a row here or...
View ArticleApex API for Tabular Forms
Ever since I started exploring the idea of using a TAPI approach with Apex, something I was never quite satisfied with was Tabular Forms. They can be a bit finicky to work with, and if you’re not...
View ArticleEmail made Easier
Sending emails from the Oracle database can be both simply deceptively braindead easy, and confoundingly perplexingly awful at the same time. Easy, because all you have to do is call one of the...
View ArticleSend SMS, MMS and Voice messages from Oracle PL/SQL
If you need to send almost any message to almost any phone from your Oracle database, and you want to use straight PL/SQL, you may want to consider using my Clicksend API. SMS (Short Message Service)...
View ArticleTAPI Generator MkII
The last few weeks I’ve made quite a few improvements to my TAPI generator which I thought I’d share. I’ve also added an Apex API generator which generates code suitable for interfacing between simple...
View ArticleDBMS_MVIEW.explain_mview with no MV_CAPABILITIES_TABLE
Need to run DBMS_MVIEW.explain_mview in APEX SQL Workshop, but don’t have the MV_CAPABILITIES_TABLE? You’ll get this error: ORA-30377: table ORDS_PUBLIC_USER.MV_CAPABILITIES_TABLE not found You don’t...
View ArticleShort circuit evaluation and the great Unknown
One of the nice things about PL/SQL is that it implements short circuit evaluation, a performance enhancement which takes advantage of the fact that an expression using logical AND or OR does not...
View ArticleSome collection methods I’d like to see added to PL/SQL
In building a code generator I found the need to write a number of helper methods for doing basic modifications of arrays that are indexed by integer – such as appending one array onto another,...
View ArticlePretty Print JSON in PL/SQL
I have been working with some code that uses JSON, sometimes fairly large documents of the stuff, and it’s often necessary to send this to the debug log (e.g. DBMS_OUTPUT) for debugging; however, the...
View Article