Yes. You can use the SQL function block from Automation to connect and send SQL queries to any external SQL server.