Recent content by Alan.Gasior

  1. A

    Inserting a BLOB using TLOBLocator

    I've got it! bLocator = new TLOBLocator(OrclSession, otBLOB); OrclQuery->DeclareVariable("ora_blob", otBLOB); OrclQuery->SetComplexVariable("ora_blob", bLocator); OrclQuery->SQL->Text = "insert into _table values (..., EMPTY_BLOB(),...) returning _column into ra_blob"; OrclQuery->Execute()...
  2. A

    Inserting a BLOB using TLOBLocator

    I need to insert a BLOB into a table. I'm able to insert an empty one, select it from the table, but I want to insert some real data stored in "buff" buffer. char buff[200]; TLOBLocator *bLocator; bLocator = new TLOBLocator(OrclSession, otBLOB); // or otCLOB bLocator->SetEmpty()...
Back
Top