freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: dbwritetext()
- Date: Wed, 25 Oct 2000 23:00:29 -0400 (EDT)
There are numerous examples of writetext in the src/dblib/unittests
directory. I can't promise that write text or BCP will work with TDS
7.0, so I hope you're using TDS 4.2 for this. ;-)
That said there may be a few glitches left in it since it isn't all that
widely used (and I don't use it myself...just wrote it under contract).
See if any of the unittests will work (you'll have to supply a text/binary
file with the right name).
Sybase has been saying they will stop supporting dblib for years, so I
don't know why MS would be any different. The freetds project will
continue to support dblib on both servers as long as there is interest so
there is no need to worry about it if you are simply writing using
freetds. Does MS support bulk copy and write text through ODBC or OLE-DB?
If not I don't really see how they could get rid of dblib.
Brian
On Wed, 25 Oct 2000, Christopher Weimann wrote:
> I'm trying to write a file to a MS-SQL 7 table using dbwritetext and
> dbmoretext. The program just hangs on the dbresults after dbwritetext.
> The server at this point seems to go haywire turning what was to be two
> calls to dbmoretext with about 30 bytes each ( just a test ) into 100s of
> MB. I used the dbmoretext example from microsofts online documentation
> at http://msdn.microsoft.com/library/psdk/sql/pdc07_8.htm. I also read
> somewhere that Microsoft may be dropping support for DB-Library. Should I
> be using tds or ct ( I don't even know what the differences are ) instead?
>
> Thanks for any suggestions in advance.
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
-
dbwritetext(),
Christopher Weimann, 10/25/2000
- <Possible follow-up(s)>
- Re: dbwritetext(), Brian Bruns, 10/25/2000
- Re: dbwritetext(), Christopher S. Weimann, 10/26/2000
- Re: dbwritetext(), Brian Bruns, 10/26/2000
- Re: dbwritetext(), Lowden, James K, 10/26/2000
- Re: dbwritetext(), Christopher Weimann, 10/28/2000
- Re: dbwritetext(), Brian Bruns, 10/28/2000
- Re: dbwritetext(), Christopher S. Weimann, 10/31/2000
Archive powered by MHonArc 2.6.24.