If you’re familiar with SQL Profiles and SQL Baselines you may also know about SQL Patches – a feature that allows you to construct hints that you can attach to SQL statements at run-time without changing the code. Oracle 12c Release 2 introduces a couple of important changes to this feature:
- It’s now official – the feature had been copied from package dbms_sqldiag_internal to package dbms_sqldiag.
- The limitation of 500 characters has been removed from the hint text – it’s now a CLOB column.
H/T to Nigel Bayliss for including this detail in his presentation to the UKOUG last week, and pointing out that it’s also available for Standard Edition.