当前位置:Gxlcms > 数据库问题 > sqlserver bulk insert

sqlserver bulk insert

时间:2021-07-01 10:21:17 帮助过:2人阅读

开启功能

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

人气教程排行