Solved

loading data using sql loader in mysql?

Posted on 2008-10-21
4
2,176 Views
Last Modified: 2012-06-27
Hi , I have a table that contains some data. I loaded this table using sql loader and used the following script;

load data infile 'c:/channel_lineups/load/all_code.txt 'into table `channel` (channel_id, channel_name, satellite);

Now I need to add more data to this table without deleting the existing data. How do I do this using sql loader? Thank you for the help.

A
0
Comment
Question by:aej1973
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
Roger Baklund earned 100 total points
ID: 22772476
You can use the same script, existing data will not be deleted by the load data infile statement. It must of course only contain new data, it will not update old records.
0
 

Author Comment

by:aej1973
ID: 22773100
ok, I will check this once I get to work tomorrow. Thx.
0
 
LVL 32

Expert Comment

by:awking00
ID: 22777973
I'm not familiar with using sql loader for MySQL, thought it was an Oracle utility. In Oracle, you can include the APPEND keyword to add records to a table. Perhaps that is the same for MySQL.
0
 

Author Closing Comment

by:aej1973
ID: 31508549
Thank you, that woks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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