MSSQL 读取文件 X1r0z included in Web 2018-05-31 2018-05-31 About 100 words One minute MSSQL 读取文件 注意反斜杠转义. 需要 SA 或 BULK INSERT 权限. 1 2 3 4 5 6 7 8 9 10 11 12 13 create table test( context ntext ); BULK INSERT test FROM 'c:/pass.txt' WITH ( DATAFILETYPE = 'char', KEEPNULLS ); select * from test; drop table test;