[freetds] freebcp transaction isolation level when 'bcp out'

Ed Avis eda at waniasset.com
Fri May 8 05:40:39 EDT 2015


The new -O option to freebcp (in 0.95rc1) can be used:

    freebcp database..table out file \
      -O 'set transaction isolation level read uncommitted' ...

Thanks!

My only qualm is the behaviour of reading from a file if 'a valid filename'.
That sounds like it could too easily go wrong - filenames can contain
spaces, and SQL can consist of a single word.  I suggest it would be better
to have two separate options.

-- 
Ed Avis <eda at waniasset.com>



More information about the FreeTDS mailing list