[fpc-devel] TMSSQLConnection - sqlDB component for accessing MS SQL Server

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Feb 27 09:08:59 CET 2012



On Mon, 27 Feb 2012, LacaK wrote:

> Hi,
> let me share same basic info/ideas about TMSSQLConnection :
> 1. As Marcos wrote it is descendant of sql-db TSQLConnection class and 
> provides native connector for MS SQL Servers and Sybase servers
> 2. is depends/requires on FreeTDS open-source cross platform DB-Library 
> (alternatively can be used also Microsoft db-library ntwdblib.dll)
> 3. all what is needed are 2-3 files:
> - mssqlconn.pp (implementation of TMSSQLConnection and TSybaseConnection)
> - dblib.pp (interface to FreeTDS db-library ABI dblib.dll on Windows, 
> libsybdb.so on *NIX)
> - readme.txt (some info for users/developers)
> 4. according to market share of MS SQL Server and Sybase there may be many 
> users, which will welcome alternative to TODBCConnection
> 5. there is on http://www.freepascal.org/future.var in "Improve the database 
> support" > "Drivers (descendants) for more database types" so I understand it 
> as FPC is open for new stuff ;-)
> 6. if there is any problem please let us know. If you decide to include it 
> into fcl-db then you can place files for example into src/sqldb/mssql folder 
> ;-)

I will have a look and include both units.

Michael.



More information about the fpc-devel mailing list