Antares686,
That's what I was afraid of. BOL, MS KB, this site and Google all searched for naught. I was hoping someone knew of a magic procedure I couldn't find. I keep trying to figure out a way to package up the string so I can execute it, but the variable isn't defined in the scope of the statement, so I get an error.