Easiest way is to use the Advanced Editor in the Query Editor and just edit the Source line to point to the new DB. Would have to see your source line to tell you specifically.
In the future, consider using parameters to parameterize the server name/db name.