Dinamic name of database

Dear support team,
Is there a way of making the name of the database dynamic? we need to replace the name of the database using a Jobinfo# and change its value on workflow.

for example:
In the datamapper (database) configuration:
the name of the database to be assigned to the value of Jobinfo7 = ‘myDB_test’
in workflow the value of Jobinfo7 = ‘myDB’

Thank you in advance.!

Best regards,

Create a custom query with something like this:

=SELECT * FROM {automation.jobInfo.JobInfo7}_test