Solved

Teradata/mainframe data export

Posted on 2008-06-18
4
812 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
  • 2
4 Comments
 
LVL 49

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 49

Expert Comment

by:Gustav Brock
ID: 22426609
No problem.

/gustav
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now