Re: FW: 0.82 freebcp: -h option seems to be broken
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
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