Menu

question about OCI_CDT_NUMERIC

Anonymous
2015-08-05
2015-08-13
  • Anonymous

    Anonymous - 2015-08-05

    I have a data defined by NUMBER(38,3) ,for example 123456789012345678901234567890, I get the col width is 22 by OCI_GetColumnSize , and fmt set the default "FM99999999999999999999999999999999999990.999999999999999999999999" ,when I use Direct Path Load --OCI_DirPathSetColumn(dp, i, (const char )col_meta[i].colname, col_meta[i].colwidth, (const char )col_meta[i].fmtstr);, the data turn out be 1234567890123456789012
    Can anyone tell me what's the problem?

     
  • Vincent Rogier

    Vincent Rogier - 2015-08-05

    Hi,

    OCILIB has moved to GitHub.
    Please, use the Git tracker for new issues/questions :)

    Thanks

    Vincent