CI_DB_mssql_utility Class Reference

Inheritance diagram for CI_DB_mssql_utility:
Collaboration diagram for CI_DB_mssql_utility:

List of all members.


Public Member Functions

 _list_databases ()
 List databases.
 _optimize_table ($table)
 Optimize table query.
 _repair_table ($table)
 Repair table query.
 _backup ($params=array())
 MSSQL Export.
 _create_database ($name)
 The functions below have been deprecated as of 1.6, and are only here for backwards compatibility.
 _drop_database ($name)
 Drop database.

Detailed Description

Definition at line 25 of file mssql_utility.php.


Member Function Documentation

CI_DB_mssql_utility::_backup ( params = array()  ) 

MSSQL Export.

private

Parameters:
array Preferences
Returns:
mixed

Definition at line 79 of file mssql_utility.php.

00080         {
00081                 // Currently unsupported
00082                 return $this->db->display_error('db_unsuported_feature');
00083         }

CI_DB_mssql_utility::_create_database ( name  ) 

The functions below have been deprecated as of 1.6, and are only here for backwards compatibility.

They now reside in dbforge(). The use of dbutils for database manipulation is STRONGLY discouraged in favour if using dbforge. Create database private

Parameters:
string the database name
Returns:
bool

Definition at line 100 of file mssql_utility.php.

00101         {
00102                 return "CREATE DATABASE ".$name;
00103         }

CI_DB_mssql_utility::_drop_database ( name  ) 

Drop database.

private

Parameters:
string the database name
Returns:
bool

Definition at line 114 of file mssql_utility.php.

00115         {
00116                 return "DROP DATABASE ".$name;
00117         }

CI_DB_mssql_utility::_list_databases (  ) 

List databases.

private

Returns:
bool

Definition at line 33 of file mssql_utility.php.

00034         {
00035                 return "EXEC sp_helpdb"; // Can also be: EXEC sp_databases
00036         }

CI_DB_mssql_utility::_optimize_table ( table  ) 

Optimize table query.

Generates a platform-specific query so that a table can be optimized

private

Parameters:
string the table name
Returns:
object

Definition at line 49 of file mssql_utility.php.

00050         {
00051                 return FALSE; // Is this supported in MS SQL?
00052         }

CI_DB_mssql_utility::_repair_table ( table  ) 

Repair table query.

Generates a platform-specific query so that a table can be repaired

private

Parameters:
string the table name
Returns:
object

Definition at line 65 of file mssql_utility.php.

00066         {
00067                 return FALSE; // Is this supported in MS SQL?
00068         }


The documentation for this class was generated from the following file: