摘要:
使用场景: 比如将 C:\Test\ 目录下的所有 txt文件内容 导入到 Table_1 中/***** Step 1 开启 xp_cmdshell Use MasterGOEXEC master.dbo.sp_configure 'show advanced options', 1RECONFIGURE WITH OVERRIDEGOEXEC master.dbo.sp_configure 'xp_cmdshell', 1RECONFIGURE WITH OVERRIDEGO*******/ --定义临时表,用于存放获取的文件名称CREATE TABLE # 阅读全文
posted @ 2014-02-19 17:19
shzy2012
阅读(7960)
评论(0)
推荐(0)

浙公网安备 33010602011771号