[freetds] dblib bcp & freebcp

Thompson, Bill D (London) bill_d_thompson at ml.com
Wed Jun 2 12:05:27 EDT 2004

Hi All,

I'm just finishing up my reworking of the dblibrary bcp api, retro-fitting
the improvements to the processing that I put into the ct-lib blk library.

While I was at it, I've also changed freebcp a little, so it will now
support :

the -E flag (as supported by Microsoft's version) which allows you to
control the behaviour with respect to identity columns.
the "queryout" method, as supported by Microsoft's version, which allows you
to specify a query (or I guess the exec of a stored procedure) as the source
of a "bcp out" operation
the handling of timestamp columns, as documented in Microsoft's version
the specification of "stdout" or "stdin" as the output/input file (that's an
enhancement on both Sybase & MS's version)

before I submit my patch, is there anything else anyone is desperate for ?


P.S. I realised that my recent ct-lib blk library implementation enables the
\bcp command/alias in sqsh - give it a go!


Bill Thompson
Securities Services Division
Merrill Lynch Europe

For very important information relating to this e-mail please click on this
link:  http://www.ml.com/legal_info.htm


If you are not an intended recipient of this e-mail, please notify
the sender, delete it and do not read, act upon, print, disclose,
copy, retain or redistribute it.

Click here for important additional terms relating to this e-mail.


More information about the FreeTDS mailing list