Using the EXECUTE IMMEDIATE command directly in Reports is not possible, but you can work around this by creating a stored procedure in the database and then using this procedure in Reports.
The database stored procedure can be created as follows:
The database stored procedure can be created as follows: