original_string: function MetaPrimaryKeys($table, $owner=false)
  	{
  	global $ADODB_FETCH_MODE;
  
  		$schema = '';
  		$this->_findschema($table,$schema);
  		if (!$schema) $schema = $this->database;
  		if ($schema) $schema = "and k.table_catalog like '$schema%'";
  
  		$sql = "select distinct k.column_name,ordinal_position from information_schema.key_column_usage k,
  		information_schema.table_constraints tc
  		where tc.constraint_name = k.constraint_name and tc.constraint_type =
  		'PRIMARY KEY' and k.table_name = '$table' $schema order by ordinal_position ";
  
  		$savem = $ADODB_FETCH_MODE;
  		$ADODB_FETCH_MODE = ADODB_FETCH_NUM;
  		$a = $this->GetCol($sql);
  		$ADODB_FETCH_MODE = $savem;
  
  		if ($a && sizeof($a)>0) return $a;
  		$false = false;
  		return $false;
  	}
code: function MetaPrimaryKeys($table, $owner=false)
  	{
  	global $ADODB_FETCH_MODE;
  
  		$schema = '';
  		$this->_findschema($table,$schema);
  		if (!$schema) $schema = $this->database;
  		if ($schema) $schema = "and k.table_catalog like '$schema%'";
  
  		$sql = "select distinct k.column_name,ordinal_position from information_schema.key_column_usage k,
  		information_schema.table_constraints tc
  		where tc.constraint_name = k.constraint_name and tc.constraint_type =
  		'PRIMARY KEY' and k.table_name = '$table' $schema order by ordinal_position ";
  
  		$savem = $ADODB_FETCH_MODE;
  		$ADODB_FETCH_MODE = ADODB_FETCH_NUM;
  		$a = $this->GetCol($sql);
  		$ADODB_FETCH_MODE = $savem;
  
  		if ($a && sizeof($a)>0) return $a;
  		$false = false;
  		return $false;
  	}
code_tokens: function MetaPrimaryKeys ( $ table , $ owner = false ) { global $ ADODB_FETCH_MODE ; $ schema = '' ; $ this -> _findschema ( $ table , $ schema ) ; if ( ! $ schema ) $ schema = $ this -> database ; if ( $ schema ) $ schema = "and k.table_catalog like '$schema%'" ; $ sql = "select distinct k.column_name,ordinal_position from information_schema.key_column_usage k,
  		information_schema.table_constraints tc
  		where tc.constraint_name = k.constraint_name and tc.constraint_type =
  		'PRIMARY KEY' and k.table_name = '$table' $schema order by ordinal_position " ; $ savem = $ ADODB_FETCH_MODE ; $ ADODB_FETCH_MODE = ADODB_FETCH_NUM ; $ a = $ this -> GetCol ( $ sql ) ; $ ADODB_FETCH_MODE = $ savem ; if ( $ a && sizeof ( $ a ) > 0 ) return $ a ; $ false = false ; return $ false ; }
docstring: tested with MSSQL 2000
docstring_tokens: tested with MSSQL 2000