This is basic but quite often this is requested either telling us this is not working with TD 5.1 or simply confused about SqlSetLongBindDatatype()
So here a basic sample inserting/fetching BLOB or LONG RAW via NATIVE or OLEDB connectivity on a binary object of #1.1MB (this is my cat

)
Also note that
Call SqlSetParameterAll( hSql, 5128, 1, ' ', TRUE)
Number: DBP_ORAUSELOB = 5128
Is no longer needed with TD 5.1 as we use now OCI8 and the LOB types are natively reconized...
Cheers
JM