1 SQLDS.CommandText := 'INSERT INTO XXXX (SN,FCN,RO,FIDT) values (:p_SN,:p_FCN,:p_RO,:p_FIDT)';
2 SQLDS.ParamByName('p_SN').asString := trim(rg.Cells[0,Cnt].AsString);
3 SQLDS.ParamByName('p_FCN').asString := trim(rg.Cells[1,Cnt].AsString);
4 SQLDS.ParamByName('p_RO').asFloat := rg.Cells[7,Cnt].AsFloat;
5 SQLDS.ParamByName('p_FIDT').asString := trim(rg.Cells[10,Cnt].AsString);
6 SQLDS.ExecSQL();
실행을 시키면요...
4line 에서 'does not support reference to 64-bit numeric datatype'
5line 에서 'does not support reference to DATE datatype'
이런 류의 에러가 납니다.
참고로 테이블에서 ro 필드는 decimal(11,2)로 만들어졌고 넘어가는 데이터는 0 이고요...
fidt 필드는 date 타입으로 만들었고 값은 '2004/06/01' 이 넘어가고 있습니다.
|