mssqlconn

From Lazarus wiki
Revision as of 11:10, 20 April 2013 by BigChimp (talk | contribs) (started again; needed page for examples etc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

mssqlconn is an fcl-db unit containing driver/connector code for Microsoft SQL Server and Sybase ASE. Lazarus uses mssqlconn to present an MS SQL connector and Sybase ASE connector.

DBLib

mssqlconn uses the dblib low-level unit which requires the FreeTDS library (.dll/.dylib/.so) to connect to the server.

Documentation

Official documentation:

Examples

Creating a database

The example below creates a database on an MS SQL Server: