Home > Database > Mysql Tutorial > body text

mysql-Mysql中load data infile时能否为其它字段设值

WBOY
Release: 2016-06-06 09:35:29
Original
1251 people have browsed it

mysql

比如我现在有一张表,字段有a、b、c、d四个,load data时的txt文件只包含3个字段(a、b、c)的值,在导入的同时,我能为每条记录的d字段设置一个值吗?(比如操作的用户名等)

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!