original_string: function DropColumnSQL($tabname, $flds, $tableflds='',$tableoptions='')
  	{
  		$tabname = $this->TableName ($tabname);
  		if (!is_array($flds))
  			$flds = explode(',',$flds);
  		$f = array();
  		$s = 'ALTER TABLE ' . $tabname;
  		foreach($flds as $v) {
  			if ( $constraintname = $this->DefaultConstraintname($tabname,$v) ) {
  				$sql[] = 'ALTER TABLE ' . $tabname . ' DROP CONSTRAINT ' . $constraintname;
  			}
  			$f[] = ' DROP COLUMN ' . $this->NameQuote($v);
  		}
  		$s .= implode(', ',$f);
  		$sql[] = $s;
  		return $sql;
  	}
code: function DropColumnSQL($tabname, $flds, $tableflds='',$tableoptions='')
  	{
  		$tabname = $this->TableName ($tabname);
  		if (!is_array($flds))
  			$flds = explode(',',$flds);
  		$f = array();
  		$s = 'ALTER TABLE ' . $tabname;
  		foreach($flds as $v) {
  			if ( $constraintname = $this->DefaultConstraintname($tabname,$v) ) {
  				$sql[] = 'ALTER TABLE ' . $tabname . ' DROP CONSTRAINT ' . $constraintname;
  			}
  			$f[] = ' DROP COLUMN ' . $this->NameQuote($v);
  		}
  		$s .= implode(', ',$f);
  		$sql[] = $s;
  		return $sql;
  	}
code_tokens: function DropColumnSQL ( $ tabname , $ flds , $ tableflds = '' , $ tableoptions = '' ) { $ tabname = $ this -> TableName ( $ tabname ) ; if ( ! is_array ( $ flds ) ) $ flds = explode ( ',' , $ flds ) ; $ f = array ( ) ; $ s = 'ALTER TABLE ' . $ tabname ; foreach ( $ flds as $ v ) { if ( $ constraintname = $ this -> DefaultConstraintname ( $ tabname , $ v ) ) { $ sql [ ] = 'ALTER TABLE ' . $ tabname . ' DROP CONSTRAINT ' . $ constraintname ; } $ f [ ] = ' DROP COLUMN ' . $ this -> NameQuote ( $ v ) ; } $ s .= implode ( ', ' , $ f ) ; $ sql [ ] = $ s ; return $ sql ; }
docstring: Drop a column, syntax is ALTER TABLE table DROP COLUMN column,column
  
  @param string   $tabname      Table Name
  @param string[] $flds         One, or an array of Fields To Drop
  @param string   $tableflds    Throwaway value to make the function match the parent
  @param string   $tableoptions Throway value to make the function match the parent
  
  @return string  The SQL necessary to drop the column
docstring_tokens: Drop a column syntax is ALTER TABLE table DROP COLUMN column column