Search Postgresql Archives

Re: Importing directly from BCP files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/16/2015 04:25 PM, Tim Uckun wrote:
    the binary form of the BCP file output is undocumented. So if all
    the BCP files you have are the binary(native) version you are up
    this creek without a paddle.


Ugh.  Yes it looks like that's the creek I am on.   Thanks Microsoft!

    So, moving to another creek. It depends on the amount of data you
    are working with, but it might be worth it to spin up a VM in the
    cloud on AWS, Azure, etc that has SQL Server on it and import the
    BCP files there. You could then export the data using the character
    format instead of the native format:


Man that really sucks but if it's the only way then I guess it's the
only way.

Something else that came to mind, where did you get the BCP files from and is possible the source could create the text based versions instead of the binary?

--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux