Skip to Content.
Sympa Menu

freetds - Re: [freetds] FW: 0.82 freebcp: -h option seems to be broken

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] FW: 0.82 freebcp: -h option seems to be broken
  • Date: Sat, 20 Dec 2008 01:06:20 -0500

Constantin Vasilyev wrote:
> I just made a quick fix by removing all hints-related error-checking
> from bcp.c and passing whatever values submitted with -h option directly
> to the server. Here's what the MS SQL says if option(s) is incorrect:
>
> Starting copy...
> Msg 170, Level 15, State 1
> Server 'MSSQLSRV', Line 1
> Line 1: Incorrect syntax near 'CHECK_CONSTR'.
> Msg 170, Level 15
> General SQL Server error: Check messages from the SQL Server
>
>
> That looks like a descent error handling to me

Thanks, Constantin. That's not such a bad solution, certainly an
improvement over nonworking code!

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page