csv导入未显示phpmyadmin上的所有行数据

时间:2014-07-06 14:18:09

标签: sql excel csv import phpmyadmin

我正在尝试导入我在csv格式的excel上创建的表,以便在phpmyadmin sql上用于大学项目。大多数表都已成功,但有些表存在问题。我使用以下create命令为飞行员资格制作了一个表:

CREATE TABLE Qualification
(Licence_Number int (8) NOT NULL, 
Rank varchar (25),
CONSTRAINT pk 10 primary key (Licence_Number)); 

此表已成功创建。但是,当我导入csv数据时,它不会导入所有20行,只会导入第18行和第20行,但go命令会给人一种印象。这是我在excel上创建的表:

1   Captain Licence
2   Captain Licence
3   First Officer Licence
4   First Officer Licence
5   Captain Licence
6   Captain Licence
7   First Officer Licence
8   First Officer Licence
9   Captain Licence
10  Captain Licence
11  First Officer Licence
12  First Officer Licence
13  Captain Licence
14  Captain Licence
15  First Officer Licence
16  First Officer Licence
17  Captain Licence
18  Captain Licence
19  First Officer Licence
20  First Officer Licence

然而,在phpmyadmin上,它只输出:

Edit Edit
 Copy Copy
 Delete Delete
18
Captain Licence

Edit Edit
 Copy Copy
 Delete Delete
20
First Officer Licence

我再一次选择"替换所有数据"和"用"括起来的列空白。在此先感谢您的帮助。

0 个答案:

没有答案