freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] FW: 0.82 freebcp: -h option seems to be broken
- 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
-
[freetds] FW: 0.82 freebcp: -h option seems to be broken,
Lowden, James K, 12/19/2008
-
Re: [freetds] FW: 0.82 freebcp: -h option seems to be broken,
Constantin Vasilyev, 12/20/2008
- Re: [freetds] FW: 0.82 freebcp: -h option seems to be broken, James K. Lowden, 12/20/2008
-
Re: [freetds] FW: 0.82 freebcp: -h option seems to be broken,
Constantin Vasilyev, 12/20/2008
Archive powered by MHonArc 2.6.24.