比如我现在有一张表,字段有a、b、c、d四个,load data时的txt文件只包含3个字段(a、b、c)的值,在导入的同时,我能为每条记录的d字段设置一个值吗?(比如操作的用户名等)
http://www.2cto.com/database/201108/99655.html
load data local infile '$f' into table ** fields terminated by 0x01 (a,b,c ) set d=${d}