Feature/fix clob limit

/to @ritch 

The PR uses parameterized SQL to fix the limitation of 4000 chars for string literals in SQL CLOB/VARCHAR.