34,838
社区成员




SET @cbcpSql = 'bcp "' + @incTableName+ '" in "' + @incDataFileSharedFolderPath + @incIptFilePath + '" -f "' + @incFormatSharedFolderPath + @incFormatFile +
'" -S "' + @incServer + '" -U"' + @incUserName + '" -P"' + @incUserPwd+'" >> "'+@incLogFilePath+'"'
EXEC @crtnMsg = master..xp_cmdshell @cbcpSql,no_output