MSSQL 读取文件 X1r0z included in category web 2018-05-31 2018-05-31 47 words One minute views Contents 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; Please enable JavaScript to view the comments powered by Valine.