Skip to Content.
Sympa Menu

freetds - Re: [freetds] bcp API usage

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Van Shuka <vanshuka AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] bcp API usage
  • Date: Thu, 07 Aug 2008 10:07:41 +0300

Thanks a lot.

On Wed, 2008-08-06 at 09:36 -0400, James K. Lowden wrote:
> dana2 wrote:
> > I'm migrating from Windows to Linux
> > and would like to continue to use db lib bcp API with FreeTDS for bulk
> > inserts into SQL Server 2008.
> > Which header file should I include (ssqldb.h,sybdb.h or some other
> > file) since there is no odbcss.h?
> > With which library should I link?
>
> The only place I can think of where this is documented is by-the-way in
> the UG:
>
> http://www.freetds.org/userguide/samplecode.htm
>
> Files Required to Build the Sample Code
>
> sybfront.h
> sybdb.h
> libsybdb.a or libsybdb.so
>
> HTH. You mention odbcss.h, which is an ODBC header file. BCP is not
> supported in the FreeTDS ODBC driver.
>
> --jkl
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page