473,383 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Importing data from JDE char 3 via datalink into Oracle; "0xC14040... display in rows

3
Hi,

I am importing data from JDE char 3 field via datalink into an Oracle table. The field returns "0xC14040...". Does anyone know anything about this error, or how to view JDE char fields in Oracle?

Thanks
Jan 15 '13 #1
5 1637
Rabbit
12,516 Expert Mod 8TB
I don't use oracle but it would help if you posted the full error message.
Jan 15 '13 #2
hazeky
3
Hi

I do not have an "Error". I am expecting a letter in the column, but Instead I have "0xC14040..." and it is wrong. Each row in the column has the same value "0xC14040..."
Jan 16 '13 #3
Rabbit
12,516 Expert Mod 8TB
What is the code you're using to do the import? 0x is usually the prefix for hexadecimal and it looks like something is converting the string to hexadecimal before inserting.
Jan 16 '13 #4
hazeky
3
I noticed all the number fields are correct, but the numeric fields are full of junk. I tried to cast the fields, but to no avail. I believe the problem starts before the import. I cannot even view the correct data.

Expand|Select|Wrap|Line Numbers
  1. SELECT *, cast(Field1 as char(6)), cast(Field1 as varchar2(10)) FROM myTable@JDeLink


Expand|Select|Wrap|Line Numbers
  1. SELECT * FROM myTable@JDeLink
Field1 “0xD4E4D5F0F1F0F3F8404040404040404040404040.. .”
Field2 “0x40...”
Field3 “0x404040...”
Field4 “0xC14040...”

Thanks
Jan 16 '13 #5
Rabbit
12,516 Expert Mod 8TB
I've never used JDE before but hopefully someone who has will stumble upon this thread.

I don't understand what you mean by this:
I noticed all the number fields are correct, but the numeric fields are full of junk.
It seems like a contradictory statement.
Jan 16 '13 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: addi | last post by:
All, I will be eternally greatful if someone can provide snippet of code, URL or reference material that shows how to display data in a "n colums * n rows" format. I am new to ASP and have...
1
by: Matthias HALDIMANN | last post by:
When importing data into MS SQL Server 2000 from a MyODBC (v3.51) data source using Data Transformation Services, special characters like öäüéàè are not imported correctly. However, when the MyODBC...
0
by: James Moe | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I have an old-ish Sybase dbms (SQL Anywhere v5.x) that does not offer a DUMP command. The only way to extract data is to SELECT all of it,...
2
by: valerio | last post by:
Hi all, I've some problem to import data to DB2 using the db2move and db2look tools. Follow the problem : I have exported data from db2 v. 7 database on windows server, using the db2look and...
3
by: Sam Alexander | last post by:
Hi Everone, I'm writing a script to import data from an XML file, and this tutorial is really an awesome guide : http://www.kbalertz.com/Q316005/Import.Server.Component.aspx ... problem though...
2
by: Mike Collins | last post by:
I am importing a XML file and have not been having the best of luck in doing this, but I do have the following solution below. I will not be importing more than 2000 records at a time, but will be...
2
by: ScardyBob | last post by:
Hello, I am having trouble importing data from an Excel Worksheet. When I try to import the data, everything works except certain columns that contain dates, where it replaces the date with a...
3
by: mukeshsrivastav | last post by:
dear sir i want to move form excel to access. i have 5 excel file having same formats and fields.now i want to import all data in one access table. importing one file is easy .but importing and...
0
by: greenMark | last post by:
Hi All I need to develope a data warehouse in oracle. I was able to develope a small one using oracle enterprise manager. But my main idea is to develope the necessary GUIs using Oracle Forms 6i....
4
by: billelev | last post by:
I am importing data from a CSV file into an MS Database. The file containing the data has around 20 fields, and each field has a range of possible values. These values are known. I would like...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.