HomeForum
Welcome, Guest

Piping data from sqlserver to Oracle
(1 viewing) (1) Guest
Data Warehousing and Data integration
  • Page:
  • 1

TOPIC: Piping data from sqlserver to Oracle

Piping data from sqlserver to Oracle 12 months ago #2779

  • Ross
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hello,

I recently purchased the DEWizard to pipe data from sqlserver to Oracle. Although the application suits my needs, I have run into 2 issues which would both be fixed with the same alteration.

My destination is in oracle version 9.2.06

**************************************************************************************Issue 1 *********************************************

One of my destination columns is called GROUP. Unfortuately, it results in an ora-01747 error.

The fix is to wrap the column name with “double quotes”.

I was able to manually change the confiq file and run the translation via command line with success but when I use the interface, the configuration reverts back to an unmapped column.

Here is an example of the change:

Field="GROUP"

Mapping=Mapped To

MappedTo=[GROUP]

Calculated=

Format=

Default=

IfNull=Ignore

IfError=Set To Null

Key=False



The following is the rational for the change:



Error:


ORA-01747: invalid user.table.column, table.column, or columns specification

Cause:


You tried to reference a column name, but the column name used is a reserved word in Oracle.

Action:


The options to resolve this Oracle error are:

1. Try redefining your table so that none of your column names are reserved words.

2. Try enclosing the reserved word in double quotes.

For example, if you had a supplier table with a column named number, and you tried to update this field as follows:

UPDATE suppliers
SET number = 10000;



You would receive the following error message:

www.techonthenet.com/oracle/errors/images/ora01747_001.png

You could correct this error by enclosing the column name in double quotes as follows:

UPDATE suppliers
SET "number" = 10000;

-***************************************************************Issue 2************************************************

The second issue is with columns that have a space within the column name

Oracle will accept a column named : "EFFECTIVE DATE"

Again I was able to manually alter the configuration file and run via command file, but when using the interface the configuration reverts back to an unmapped column.

Here is an example of the manually altered config file:


Field="EFFECTIVE DATE"
Mapping=Mapped To
MappedTo=[EFFECTIVE DATE]
Calculated=TO_DATE(TO_CHAR(EffectiveDate,'YYYY/MM/DD'))
Format=DDMMYY
Default=
IfNull=Ignore
IfError=Set To Null
Key=False

M. Ross

Re: Piping data from sqlserver to Oracle 12 months ago #2781

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
Can you post here/email us

table creation script
source file example
your transformation script

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

Testimonials

I just transferred 10,000,000 million records from the main SQL Anywhere database over the network into a Postgres database without a hitch.

Thank you
Thank you
Thank you

George…

!!!!! You guys rock!!!!!!!!

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