如果我想多次将数据插入同一列,如下所示:
INSERT INTO string_tbl(vchar_fld) VALUE ('abcd');
INSERT INTO string_tbl(vchar_fld) VALUE ('xyz');
INSERT INTO string_tbl(vchar_fld) VALUE ('QRSTUV');
INSERT INTO string_tbl(vchar_fld) VALUE ('qrstuv');
INSERT INTO string_tbl(vchar_fld) VALUE ('12345');
除了不同的数据之外,是否有比上述更有效的方法来编写相同的插入?
答案 0 :(得分:2)
INSERT INTO string_tbl(vchar_fld) VALUES ('abcd'),('xyz'),('QRSTUV');