Function to return a long column value as a clob. Based in part on the code from the link below, but modified to accept a table/column/where-clause instead of a query/bind-variable.
More background info & original code:
https://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:665224430110.