Solved

Teradata/mainframe data export

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best RAID for a BDD Oracle 4 69
Working with SharePoint Data 8 54
Online Forms 6 59
SQL Querying data from 3 tables, all with 1 common column 4 36
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.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
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…

777 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