I have a couple of stored procedures that will be used only for maintenance tasks (facilitating truncation of tables, rebuilding indexes etc). In my mind the natural location for these would be the master DB (or any other central DB) so that other DBs would be able share this functionality.
This would also clarify the intent of these procedure and excludes these from DACPAC deployments. However, in Azure SQL cross-database queries are not allowed so I do not find any natural place to put these procedures inside.
Where would you put these kinds of stored procedures that are outside the actual business needs?