Oracle introduced its LOB data types in version 8.0, over a decade ago. LONG AND LONG RAW MATERIALS are out of date before the Millennium (in favor of CLOB and BLOB, respectively) precisely because working with LONG is a pain in the neck, and LONG RAW is double as you find now.
What exactly are you trying to achieve? Your logic seems confused. LONG RAW is designed to store binary data (images, documents, etc.), therefore, providing it in the form of text is unlikely to give satisfactory results.
source share