×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Decimals on Oracle

Decimals on Oracle

Decimals on Oracle

(OP)
Hi,

I'm having trouble in insert a decimal value from SQL 2005 to Oracle 10g. I'm using DS 7.5.1.A and ODBC as a connection.

The mistake is:
[DataStage][SQL Client][ODBC][Oracle][ODBC][Ora]ORA-01722: invalid number

the field property are the same: decimal with lengh 8 and scale 2.

Using the real and the fix functions on the transformer stage it enters all the numeric (without decimal) values. In fix I'm using 2 on the scale value.

Any help would be appreciated,

RE: Decimals on Oracle

Hi,
Have you checked the source data to be sure that each record has a valid number in that field?

You could add a constraint to the transform so that only records with valid numeric values in that field were sent to Oracle and others to an error file..





profile

To Paraphrase:"The Help you get is proportional to the Help you give.."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close