Solved

Teradata/mainframe data export

Posted on 2008-06-18
4
851 Views
Last Modified: 2008-09-09
I have a client who is going to be pushing data to us daily. I have gotten a couple of test files as .txt. I need to import the data to a mysql db. The problem ther e seams to be no blanket formatting to the files. Some of the data looks to be formated tab delimitid or csv but we can't find anything that works for the entire file. Can anyone give us some pointers as to how to deal with this data?
0
Comment
Question by:cebrooks03
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 50

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 21823397
Not much to work with here ...

Note that when inserting records reading the records off a text file using

  LOAD DATA INFILE
    '../data/test.txt'
  INTO TABLE
    tempload

into an empty non-indexed table runs at extremely high speed.

However, the file is read "as is" so the formatting much be 100% verified otherwise - and that means from the source.

Ask the client to provide full documentation of the format of the file.

/gustav
0
 
LVL 1

Author Comment

by:cebrooks03
ID: 22426494
I apologize for the delay.
0
 
LVL 50

Expert Comment

by:Gustav Brock
ID: 22426609
No problem.

/gustav
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question