Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

LOAD DATA INFILE

From: Ilavajuthy Palanisamy <ipalanisamy(at)consentry.com>
Date: Wed Jun 27 2007 - 15:08:26 EDT


Hi,  

I have a question on LOAD DATA INFILE command.

I have a table with 10 columns. Is it possible to update only few columns of this table using LOAD DATA INFILE?  

When I tried, it updates the specified columns but other columns are set to NULL.  

The command that I used is

           stmt = "LOAD DATA INFILE '" + fileToLoad + "' REPLACE INTO TABLE " +

                    tn  + " (id, value, charSet)";      

 

The result of the above action is.

| 105577247 | NULL | NULL | NULL | NULL | MAILSLOTBROWSE
| 4 | NULL | NULL | NULL
  My requirement is to update only the specified columns. Is it possible using LOAD DATA INFILE command?  

Do you need help?X

Any help will be greatly appreciated.  

Thanks,

Ila.        Received on Wed Jun 27 15:08:52 2007

This archive was generated by hypermail 2.1.8 : Wed Jun 27 2007 - 15:10:04 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library