diff --git a/functions/dbx.xml b/functions/dbx.xml index 299d1b86df..349efe1d1b 100644 --- a/functions/dbx.xml +++ b/functions/dbx.xml @@ -16,8 +16,8 @@ these databases. To be able to use a database with the dbx-module, the module must be either linked or loaded into PHP, and the database module must be supported by the - dbx-module. Currently, MySQL, PostgreSQL and ODBC are supported, - but others will follow (soon, I hope :-). + dbx-module. Currently, MySQL, PostgreSQL, Microsoft SQL Server + and ODBC are supported, but others will follow (soon, I hope :-). Documentation for adding additional database support to dbx can be @@ -94,34 +94,34 @@ dbx_close($link); persistent connection will be created. - Possible module names are given below, but keep in mind that they - only work if the module is actually loaded. + The module parameter can be either a string + or a constant. The possible values are given below, but keep in + mind that they only work if the module is actually loaded. - module 1: "mysql" + module DBX_MYSQL : "mysql" - module 2: "odbc" + module DBX_ODBC : "odbc" - module 3: "pgsql" + module DBX_PGSQL : "pgsql" + + + + + module DBX_MSSQL : "mssql" - - The pgsql support is still experimental, and you should compile - the actual pgsql module yourself after modifying one of the - source files, otherwise you will get PostgreSQL warnings for - every query. - The dbx_link_object has three members, a 'handle', a 'module' and a 'database'. The 'database' member is the name of the currently @@ -214,6 +214,10 @@ dbx_close ($link); Always refer to the module-specific documentation as well. + + The error-message for Microsoft SQL Server is actually the result + of the mssql_get_last_message function. +