Skip to Content.
Sympa Menu

freetds - Re: [freetds] qt+unixODBC+freeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] qt+unixODBC+freeTDS
  • Date: Wed, 28 Apr 2004 08:46:15 -0400

On Wed, 28 Apr 2004, Balu Stefan <stefan.balu AT rodipet.ro> wrote:
>
> I have to tell you I don't know MsSQL Language (I've only used
> PostgreSQL), but I have some MSSQL programmes in my office to ask for
> MsSQL's syntax.
> Now...what do I need in order to do this?

Welcome, Stefan.

Microsoft and Sybase share a SQL dialect called Transact-SQL (tm), or
T-SQL for short. Its complete documentation can be found on Microsoft's
website.

> freetds-0.62.3:
>
> ./configure --prefix=/usr/local --disable-server --enable-msdblib
> --with-iodbc=/usr/local --with-unixodbc=/usr/local

You might or might not need --enable-msdblib, depending on what QT wants.
You definitely don't need two driver managers. Choose either iODBC or
unixODBC.

> make && make install
>
> now...what else do I have to do?

Keep going. ;-) You need to set up your odbc.ini and/or freetds.conf.
Try simple tools like tsql, isql, and odbctest to make sure your
connection works, and take note of the TDSDUMPCONFIG variable as a
diagnostic tool if it doesn't.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page