locked
Inserting an 'image' (datatype) value through SQL and C++ RRS feed

  • Question

  • In the application I develop, the database table having a column of 'image' datatype. Now I want to insert the values into that table directly from my program, which is in VC++ 6.0, using a direct ExecuteQuery() of INSERT(due to performance considerations).The image column is been mapped to the structurre of the following declaration

     typedef struct _DB_BLOB 
    { 
     int size; 
     char *data; 
    }DB_BLOB;

    The data part will be dynamically filled.

     

    Wednesday, September 8, 2010 5:26 AM

Answers

All replies