How to Run Custom SQL Queries in Application Integration