是否可以计算从导入文件中读取的行数?
INSERT INTO table1(col1, col2)
SELECT col1, col2
FROM OPENROWSET(BULK 'F:\test.csv', FORMATFILE='f:\test.XML', ERRORFILE='F:\test.csv.log') AS a
WHERE col1%3=0;
是否可以计算从导入文件中读取的行数?
INSERT INTO table1(col1, col2)
SELECT col1, col2
FROM OPENROWSET(BULK 'F:\test.csv', FORMATFILE='f:\test.XML', ERRORFILE='F:\test.csv.log') AS a
WHERE col1%3=0;