Number was not inserted correctly by using ArrayInsertion
Posted: Tue 14 Jun 2011 21:55
Hello,
I found some number was not inserted correctly by using ArrayInsertion into a Float column. And this is only happens on 10g server but not 920.
Here's the table DDL
CREATE TABLE "NUMBERTEST"
(
"AKEY" NUMBER(*,0),
"AINT" NUMBER(*,0),
"ASIGNED" NUMBER(*,0),
"AFLOAT" NUMBER(*,0),
"ADOUBLE" FLOAT(126), "ADECIM" NUMBER(*,0),
"ADATE" TIMESTAMP (6),
"ACODE" NVARCHAR2(50),
"ANAME" NVARCHAR2(50),
"AADDRESS" NVARCHAR2(50) )
and here's data we are trying to insert ( first line is column header)
"AKEY","AINT","ASIGNED","AFLOAT","ADOUBLE","ADECIM","ADATE","ACODE","ANAME","AADDRESS"
59,968696870,193,-217171717,979797980,979797980,"1945-03-23 00:00:00","DhcSrGLl3Z","Xj:BmJUwN705kUt:KNyx","suikaSdgo"
You will find that 979797980 is turned into 979797952 when inserted by array insertion. If you use regular insert statement. it works fine.
Is this a bug in DevArt?
I found some number was not inserted correctly by using ArrayInsertion into a Float column. And this is only happens on 10g server but not 920.
Here's the table DDL
CREATE TABLE "NUMBERTEST"
(
"AKEY" NUMBER(*,0),
"AINT" NUMBER(*,0),
"ASIGNED" NUMBER(*,0),
"AFLOAT" NUMBER(*,0),
"ADOUBLE" FLOAT(126), "ADECIM" NUMBER(*,0),
"ADATE" TIMESTAMP (6),
"ACODE" NVARCHAR2(50),
"ANAME" NVARCHAR2(50),
"AADDRESS" NVARCHAR2(50) )
and here's data we are trying to insert ( first line is column header)
"AKEY","AINT","ASIGNED","AFLOAT","ADOUBLE","ADECIM","ADATE","ACODE","ANAME","AADDRESS"
59,968696870,193,-217171717,979797980,979797980,"1945-03-23 00:00:00","DhcSrGLl3Z","Xj:BmJUwN705kUt:KNyx","suikaSdgo"
You will find that 979797980 is turned into 979797952 when inserted by array insertion. If you use regular insert statement. it works fine.
Is this a bug in DevArt?