debug=1; $stmt = $this->PrepareSP('sp_server_info'); $val = 2; if ($this->fetchMode === false) { $savem = $ADODB_FETCH_MODE; $ADODB_FETCH_MODE = ADODB_FETCH_NUM; } else $savem = $this->SetFetchMode(ADODB_FETCH_NUM); $this->Parameter($stmt,$val,'attribute_id'); $row = $this->GetRow($stmt); //$row = $this->GetRow("execute sp_server_info 2"); if ($this->fetchMode === false) { $ADODB_FETCH_MODE = $savem; } else $this->SetFetchMode($savem); $arr['description'] = $row[2]; $arr['version'] = ADOConnection::_findvers($arr['description']); return $arr; } /* The big difference between mssqlpo and it's parent mssql is that mssqlpo supports the more standard || string concatenation operator. */ function _query($sql,$inputarr) { if (is_string($sql)) $sql = str_replace('||','+',$sql); return ADODB_mssql::_query($sql,$inputarr); } } class ADORecordset_mssqlpo extends ADORecordset_mssql { var $databaseType = "mssqlpo"; function ADORecordset_mssqlpo($id,$mode=false) { $this->ADORecordset_mssql($id,$mode); } } ?>