Difference between Decimal and Numeric data types?
Moderators: chulett, rschirm, roy
Difference between Decimal and Numeric data types?
Someone asked me this today and
I couldn't provide a coherent answer. Can someone help out with the difference in a Server Job if one defines a field as Decimal versus Numeric? Is there any? Does it depend on the underlying O/S and is a matter of precision?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
DataStage has to map multiple disparate data types into its own generic data types. This holds true for both inbound and outbound data. That's why it's so important to use the source and target imported metadata rather than make it up or attempt to use source metadata for a target.
For the purposes of DataStage, the scaling is important because of the application of it done by Sequential stages, but whether its NUMERIC or DECIMAL is treated the same I believe.
For the purposes of DataStage, the scaling is important because of the application of it done by Sequential stages, but whether its NUMERIC or DECIMAL is treated the same I believe.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
