Skip to Content.
Sympa Menu

freetds - Re: [freetds] freebcp - comma delimited output file

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Ed Avis" <eda AT waniasset.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] freebcp - comma delimited output file
  • Date: Mon, 19 Sep 2011 19:06:15 +0100

>freebcp MYDB.dbo.DV_DEVICE_T out "/home/myaccount/test.csv" -c -T -t,
-S
>servername -I /etc/freetds.conf -U me -P `cat mssqlpw.txt`

I think the -T option requires a following argument, so is gobbling up
-t,.
Try omitting -T or else passing it with a number, e.g. '-T 500'.
freebcp's command line parser is not as helpful as it could be at
catching errors.

--
Ed Avis <eda AT waniasset.com>

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________




Archive powered by MHonArc 2.6.24.

Top of Page