original_docstring: 
          Delete a column from a table.
          
docstring: Delete a column from a table.
docstring_tokens: Delete a column from a table .
code: def delete_column(self,tableName : str, columnName : str):
          """
          Delete a column from a table.
          """
          try:
              dataBase = connect(
                  host = self.host,
                  user = self.userName,
                  passwd = self.passwrd,
                  database = self.database
              )
              cursor = dataBase.cursor()
  
              cursor.execute('ALTER TABLE ' + tableName + ' DROP COLUMN ' + columnName)
  
              dataBase.commit()
              dataBase.close()
              return 'Column dropped!'
          except Exception as error:
              raise MySQLerrorTypes.drop_column_error(error)
code_tokens: def delete_column ( self , tableName : str , columnName : str ) : try : dataBase = connect ( host = self . host , user = self . userName , passwd = self . passwrd , database = self . database ) cursor = dataBase . cursor ( ) cursor . execute ( 'ALTER TABLE ' + tableName + ' DROP COLUMN ' + columnName ) dataBase . commit ( ) dataBase . close ( ) return 'Column dropped!' except Exception as error : raise MySQLerrorTypes . drop_column_error ( error )
short_docstring: Delete a column from a table.
short_docstring_tokens: Delete a column from a table .
comment: """
          Delete a column from a table.
          """