Solved

Teradata/mainframe data export

Posted on 2008-06-18
4
825 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Read about achieving the basic levels of HRIS security in the workplace.
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…

911 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

16 Experts available now in Live!

Get 1:1 Help Now