Bulk edit queries

I want to add a new data source with the exact same data and change all queries that use the old data source to the new one.
Is there some bulk edit functionality, or could you give me directions on how to apply these changes via the database?

Johannes M.