def METHOD_NAME(self, query, database_driver, dbq_oracle_server, database_server, database_port, database_name, database_user, database_password):
    """
    Return a dictionary if the query statement is a SELECT otherwise print a number of row 
    affected in case of INSERT|UPDATE|DELETE statement.
    .. note::  
        Default Database information is in config.json another way is possible put this in the QueryExecute method parameters:
        Parameters:
        "DBDriver": "",
        "DBServer": "",
        "DBName": "",
        "DBUser": "",
        "DBPassword": ""
    .. note::        
        Must be used an ANSI default SQL statement.
    .. note::        
        dbq_oracle_server parameter is necessary only for Oracle connection.
    :param query: ANSI SQL estatement query
    :type query: str
    :param database_driver: ODBC Driver database name
    :type database_driver: str
    :param dbq_oracle_server: Only for Oracle: DBQ format:Host:Port/oracle instance
    :type dbq_oracle_server: str
    :param database_server: Database Server Name
    :type database_server: str
    :param database_port: Database port default port=1521
    :type database_port: int
    :param database_name: Database Name
    :type database_name: str
    :param database_user: User Database Name
    :type database_user: str
    :param database_password: Database password
    :type database_password: str
    Usage:
    >>> # Call the method:
    >>> self.oHelper.QueryExecute("SELECT * FROM SA1T10")
    >>> self.oHelper.QueryExecute("SELECT * FROM SA1T10", database_driver="DRIVER_ODBC_NAME", database_server="SERVER_NAME", database_name="DATABASE_NAME", database_user="sa", database_password="123456")
    >>> # Oracle Example:
    >>> self.oHelper.QueryExecute("SELECT * FROM SA1T10", database_driver="Oracle in OraClient19Home1", dbq_oracle_server="Host:Port/oracle instance", database_server="SERVER_NAME", database_name="DATABASE_NAME", database_user="sa", database_password="123456")
    """
    connection = self.connect_database(query, database_driver, dbq_oracle_server, database_server, database_port, database_name, database_user, database_password)
    if re.findall(r'^(SELECT)', query.upper()):
        df = pd.read_sql(sql=query, con=connection)
        return (df.to_dict())
    elif re.findall(r'^(UPDATE|DELETE|INSERT)', query.upper()):
        self.cursor_execute(query, connection)
    else:
        self.webapp_internal.log_error(f"Not a valid query in {query}")