首页 > 数据库技术 > 详细

sqlserver bulk insert

时间:2017-08-04 14:51:23      阅读:288      评论:0      收藏:0      [点我收藏+]

开启功能

-- 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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!