[freetds] patch: setting connection options in freebcp

James K. Lowden jklowden at freetds.org
Fri Oct 6 21:55:26 EDT 2006


Constantin Vasilyev wrote:
> Adding -O option to freebcp.
> 
> This option allows to set/unset connection options:
> 
> freebcp ... -O 'set ansi_nulls, quoted_identifier on'

Thanks, Constantin.  Applied, with improvements.  ;-)  

I sent errors to stderr and made them clearer (IMHO).  Also, one must be
careful of such constructions as 

	while (dbnextrow() != NO_MORE_ROWS);

because it may return FAIL forever.  

manpage also updated.  

Apart from such minor points, I think this is a real improvement for
freebcp.  

Regards, 

--jkl


More information about the FreeTDS mailing list