Not sure if anyone has run into this problem before and I am going a little bit crazy. I am exporting a table from SQL Server 2014 using BCP to a tab delimited text file and then uploading the file to PostgreSQL 9.5 using COPY. exec master..xp_cmdshell ‘bcp tempdb.dbo.##MyTable out “C:\BCPFiles\MyTableFile.txt” -c -t -T’ ThisRead more