rt
服务器不同的话会提示文件找不到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
其中@incDataFileSharedFolderPath为数据文件服务器
@incFormatSharedFolderPath为格式文件服务器
请教各位高手原因
谢谢