T4SQL Template Library T4SQL is a SQL code generation implemented by Preprocessed T4 Text Templates. Documentation https://t4sql.codeplex.com/ or https://databooster.github.io/T4SQL/