LOAD DATA INFILE
'D:/Inetpub/wwwroot/_intalm.xls'
REPLACE INTO TABLE _intalm
FIELDS TERMINATED BY ';'
OPTIONALLY ENCLOSED BY '\\"' LINES TERMINATED BY '\\r\
'
IGNORE 11 LINES ;
But the response is query returned no resultset and the TABLE _intalm is empty.
Sir, Can You Help Me With This?
In the import I need ignore the 1-11 lines and the last line (Num.) in the xls file.
_intalm.xls
Ex
Fi
Pr
Co
Or
[T, B, L]
14_12_110
14_12_110
FROM:
ID Or St
438 M A
456 M C
464 T C
460 T A
462 M C
Num.
_intalm table:
/*
Navicat MySQL Data Transfer
Source Server : test
Source Server Version : 50045
Source Host : 1.7.4.1:3306
Source Database : test
Target Server Type : MYSQL
Target Server Version : 50045
File Encoding : 65001
Date: 2011-02-28 14:54:17
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `_intalm`
-- ----------------------------
DROP TABLE IF EXISTS `_intalm`;
CREATE TABLE `_intalm` (
`ID` varchar(255) default NULL,
`Or` varchar(255) default NULL,
`St` varchar(255) default NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of _intalm
-- ----------------------------