HomeForum
Welcome, Guest

Error when reading number(16) fields
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Error when reading number(16) fields

Error when reading number(16) fields 1 year, 8 months ago #957

  • Pinky
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
I've been impressed with Database Browser so far, but seem to have hit a show-stopper for our Oracle databases. All of our tables have a 16 digit numeric field that is used to log the exact time of the write, but when trying to read any of the tables with the Database Browser, the following error is raised:
Overflow while converting variant of type (Decimal) into type (Currency)

Not sure why it is trying to convert like this (although a 16 digit currency value would be nice to see on a bank statement! )

I have had a look through all the connection/option settings, and can't find any settings that can be changed.

Any pointers/fixes would be most welcome.

Re:Error when reading number(16) fields 1 year, 8 months ago #958

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
Can you post your table creation script here please

Which version have you got?

Peter

Re:Error when reading number(16) fields 1 year, 8 months ago #959

  • Pinky
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
I'm using the latest Portable version.

The tables are auto-created by the 4GL tool that is used to code our system. The only issue is reading the DTIME entries (verified by running "SELECT DTIME FROM TABLE1;", which returned the error if any rows are found).
to be honest, it looks like the browser is trying to guess the data type, and getting it wrong.

The table definition is as follows:
Name Null? Type
------------------------------- -------- ----------------------------
DTIME NOT NULL NUMBER(16)
REFNUM NOT NULL NUMBER(10)
PRIRTY NOT NULL NUMBER(2)
RECTYP NOT NULL VARCHAR2(1)
REQTME NOT NULL NUMBER(8)
FILREF NOT NULL NUMBER(4)
EFVDTE NOT NULL NUMBER(5)
ONLIND NOT NULL VARCHAR2(1)
RTYCNT NOT NULL NUMBER(2)
REQSTN NOT NULL VARCHAR2(17)
FILPOS NOT NULL NUMBER(6)
TRN_PR NOT NULL NUMBER(3)

Re:Error when reading number(16) fields 1 year, 8 months ago #960

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
Can you give this one a try please

www.dbsoftlab.com/dmdocuments/DatabaseBr...2.11_English.paf.exe

Peter

Re:Error when reading number(16) fields 1 year, 8 months ago #963

  • Pinky
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Works like a charm!

Out of interest, what was the cause of the attempt to convert?

Re:Error when reading number(16) fields 1 year, 8 months ago #964

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
We have changed the way of connecting to Oracle

It used to be Ole DB,
Nowdays we use direct connection

Mike
  • Page:
  • 1
Time to create page: 0.19 seconds

Testimonials

Advanced ETL Processor's ability to validate and tranform data without actually loading it into the datawarehouse has saved us a lot of time. We were able to see how data will look like, once it is transformed and which records would fail during data validation.

Antony Clark,
RBS 

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top