Begens (Beyond Generic Sql) is a TSQL macro processor. You feed it your TSQL code with macro-definitions, and it yields you good old TSQL back.
To write some types of queries for your godblessed enterprise database faster.
Check examples.sql and be happy.
Current version is unstable, use it on your own risk. I don't recommend to macroprocess code which does sensitive changes (like, "drop everything" DDL - unless you really sure), because it might be executed incorrectly.