[Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

Henry Vermaak henry.vermaak at gmail.com
Tue Jan 18 22:36:59 CET 2011


On 18 January 2011 21:31, Bo Berglund <bo.berglund at gmail.com> wrote:
> On Sat, 15 Jan 2011 10:34:25 +0100, Bo Berglund
> <bo.berglund at gmail.com> wrote:
>
>>On Sat, 15 Jan 2011 09:42:01 +0100, Bo Berglund
>><bo.berglund at gmail.com> wrote:
>>
>>>Is there an alterate connection mechanism that can be used towards
>>>MSSQLServer which works also on Linux so the applications can be made
>>>cross-platform? The database itself will of course remain on a Windows
>>>server.
>>>
>>
>>Sorry, I found this by searching:
>>http://wiki.lazarus.freepascal.org/Lazarus_Database_Tutorial#Lazarus_and_MSSQL
>>
>>I will test that as soon as I get my lazarus to work properly with
>>breakpoints (see next post).
>>
>
> Problem....
>
> In the aforementioned WIKI page it is mentioned that one could use
> ODBC towards MSSQL by:
> "just use the SQLdb component that is included"
>
> In order to check how to do this I went to the SQLDb WIKI page at
> http://wiki.lazarus.freepascal.org/SQLdb_Package
>
> Here is stated the following:
> "The SQLdb package contains FPC units to access a number of SQL
> databases. It is "packaged" as sqldblaz.lpk in Lazarus, and the
> components can be found on the "SQLdb" tab. "
>
> But in my new Lazarus built from the SVN 0_9_30_fixes branch there
> simply is no such tab....

If you build using make bigide, it will get included.  You can install
it by going to install/uninstall packages under the package menu.

Henry




More information about the Lazarus mailing list