I have imported several tables from Oracle (Siebel). When I check the lengths of the fields, they have been multiplied by 3
However, from an Oracle non Siebel schema, I don't get these issues.
I was wondering what I need to look at in order to find out how to avoid this.
Import Oracle Table - Lengths multiplied by 3
Moderators: chulett, rschirm, roy
Import Oracle Table - Lengths multiplied by 3
Colin Larcombe
-------------------
Certified IBM Infosphere Datastage Developer
-------------------
Certified IBM Infosphere Datastage Developer
How did you import the metadata, using which tool/option? Do you have NLS enabled? I've seen this before and I'm sure it has been posted here as well but I don't recall off the top of my head why that happens but I'm sure it's NLS related.
These 'certain Oracle instances' - how does their NLS_LANG setting compare to the others where this doesn't happen?
These 'certain Oracle instances' - how does their NLS_LANG setting compare to the others where this doesn't happen?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
I checked with the DBA. For the Siebel databases, they are configured in Unicode whereas the other non-Siebel aren't.
From memory, altering the NLS_LANG wouldn't actually have any effect on the database.
I'll do a search and see if there are Oracle/Unicode workarounds (unless you have any other ideas ?)
From memory, altering the NLS_LANG wouldn't actually have any effect on the database.
I'll do a search and see if there are Oracle/Unicode workarounds (unless you have any other ideas ?)
Colin Larcombe
-------------------
Certified IBM Infosphere Datastage Developer
-------------------
Certified IBM Infosphere Datastage Developer
I'm not sure if there is anything you can do about it other than manually edit it afterwords. You may find that you need to leave it that way when dealing with multi-byte charactersets, however. If your instances use "byte semantics" then this may be a needed workaround. Specifically, when you have a VARCHAR2(10) field, is it sized for 10 characters or 10 bytes? Byte semantics seem to be the default in the single-byte characterset world for some reason.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers