This document provides instructions for connecting to SQL databases and running SQL queries from R. It demonstrates how to install and use relevant R packages like DBI, odbc, alicer to connect to SQL Server and Azure SQL databases. It also shows how to run SQL queries and scripts from R using functions from the alicer package, optionally saving results and query execution times.