diff options
Diffstat (limited to 'system/database/drivers/mssql/mssql_utility.php')
-rw-r--r-- | system/database/drivers/mssql/mssql_utility.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/database/drivers/mssql/mssql_utility.php b/system/database/drivers/mssql/mssql_utility.php index ad13167cd..388dbe1c2 100644 --- a/system/database/drivers/mssql/mssql_utility.php +++ b/system/database/drivers/mssql/mssql_utility.php @@ -67,6 +67,19 @@ class CI_DB_mssql_utility extends CI_DB_utility { // -------------------------------------------------------------------- /** + * List databases + * + * @access private + * @return bool + */ + function _list_databases() + { + return "EXEC sp_helpdb"; // Can also be: EXEC sp_databases + } + + // -------------------------------------------------------------------- + + /** * Optimize table query * * Generates a platform-specific query so that a table can be optimized |