/**
  * Connect to a MS SQL database.
  * @param array $parameters An map of parameters, which should include:
  *  - server: The server, eg, localhost
  *  - username: The username to log on with
  *  - password: The password to log on with
  *  - database: The database to connect to
  *  - windowsauthentication: Set to true to use windows authentication 
  *    instead of username/password
  */
 public function connect($parameters)
 {
     parent::connect($parameters);
     // Configure the connection
     $this->query('SET QUOTED_IDENTIFIER ON');
     $this->query('SET TEXTSIZE 2147483647');
 }