Home >Database >Mysql Tutorial >对有自增长字段的表导入数据注意事项

对有自增长字段的表导入数据注意事项

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:57:361129browse

对有自增长字段的表导入数据注意事项

对有自增长字段的表导入数据注意事项:

1、把自增长字段暂时设置成非自增长的;导入数据成功后,再设置成自增长字段。

2、导出、导入数据时,注意选择文本格式,防止出现乱码、数据转换不成功等情况。

3、对于表中的原有数据,不会覆盖原有数据,只会增加。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn