码迷,mamicode.com
首页 > 数据库 > 详细

sqlserver bulk insert

时间:2017-08-04 15:15:37      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:option   ast   执行   config   value   date   files   user   figure   

开启功能

-- To allow advanced options to be changed.

EXEC sp_configure ‘show advanced options‘, 1

GO

-- To update the currently configured value for advanced options. RECONFIGURE

GO

-- To enable the feature. EXEC sp_configure ‘xp_cmdshell‘, 1

GO

-- To update the currently configured value for this feature.

RECONFIGURE

GO

 

master..xp_cmdshell  ‘net use \\192.168.0.126\ftpfiles 12345678  /user:server\administrator‘   

提示:执行命令成功完成即可。 例如:  master..xp_cmdshell ‘net use \\server\data lp /user:server\administrator‘

sqlserver bulk insert

标签:option   ast   执行   config   value   date   files   user   figure   

原文地址:http://www.cnblogs.com/shi-yongcui/p/7284964.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!