I can put image into Oracle database using SQLPutData.It returns SQL_SUCCESS.I can verify this on SQL prompt.To retreive this image I have used SQLGetData.Before using this function
SQLExecDirect (hstmt,"select picture from pictab",SQL_NTS)
But it returns SQL_ERROR and there are no status records available to find the problem using SQLDiagRec(which returns SQL_NO_DATA).
Plz help!!!