• Hello, I know this post of yours is a bit old but I am new to sql and I wanted to understand your code a little more. Could you explain the variable @DDL and what exactly it's use is? Thank you so much for all your time.