1. Briefly explain how you would choose whether to use a user-defined functions (UDFs) or a stored procedure.
2. Briefly describe challenges you may encounter when attempting to integrate data from multiple databases or systems.