[freetds] bcp is really busted

James K. Lowden jklowden at schemamania.org
Mon Dec 29 19:04:16 EST 2003


On Mon, 29 Dec 2003, christos at zoulas.com (Christos Zoulas) wrote:
> What I always wanted from bcp was inout functionality

Ah, you want sqsh, then; it does bcp from one connection to another.  And
blk-lib, the ct-lib version of bcp, which sqsh uses.  Definitely 2004
possibilities.  

Right now, freebcp can't read from a pipe (it seeks on its input), but
I've always thought it would be nice if you could:

	freebcp db..tab out stdout \
	| tee tab.dat \
	| freebcp db2..tab in stdin

One of these days. 

--jkl




More information about the FreeTDS mailing list