Skip to Content.
Sympa Menu

freetds - Re: SQL Server Emulation

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Antonio Ognio" <ognio AT peruserver.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: SQL Server Emulation
  • Date: Wed, 20 Jun 2001 05:40:24 -0400


Hello everybody,

Brian: I've been looking at the source code of
FreeTDS and now I have some idea on how the system
work. I'm starting to study /src/server and /src/pool
in more detail. So far I'm aware of data structures
like TDS, TDSLOGIN, TDSRESULTINFO, etc, and trying
to understand how this pieces fit in the TDS puzzle.

I looked for MDB Tools, found the page for the project,
got the sources.

I'm clueless about all regarding *libtdssvr* where is
that library? Didn't find at Freshmeat nor Google.

Can you please explain me in more details this:

>4) wait for a SQL query (not in server lib...you'll need to write
>it). Convert the SQL to T-SQL (MS/Sybase flavor). Along these lines,
>check my MDB Tools project for a decent (although unfinished) SQL
>parser. some of the lighter weight databases may fall short on required
>features such as outer joins and stored procs. (may be delayed until
after
>all other stuff is working, as long as the SQL sent is valid under both
>servers).

Aren't the queries and commands in the TDS
sockets comming in T-SQL?

I didn't understand when you say "Convert the SQL to T-SQL
(MS/Sybase flavor)." Shouldn't I convert *T-SQL* into the
SQL of the database backend??

I was looking for some documentation on T-SQL and the only
thing I got was:

http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/sql/ht_1_012_3njm.htm


I'll be exploring the idea of implementing a TDS server
in PHP while I continue studing the FreeTDS code.

Thanks,




Archive powered by MHonArc 2.6.24.

Top of Page