Hello all,

Does anyone know if there's a TSQL function that acts like a JavaScript eval? What I'd like to do is declare some of my SQL code as text variables and then use that code later by referencing that variable. Is there a way to do this?