Greetings all,
In VB - the EVAL() function can evaluate a literal string within an expression...
How would I do that in T-SQL..? Here's what I'm trying to do: I am updating a variable name that changes...initially @PSt=Phase1Start, then @PSt=Phase2Start, then @PSt=Phase3Start...and so on. Subsequently, we SELECT using @PSt which isn't working at all....??
How can I effect changes to literals then EVAL them at execution...??
Thanks
In VB - the EVAL() function can evaluate a literal string within an expression...
How would I do that in T-SQL..? Here's what I'm trying to do: I am updating a variable name that changes...initially @PSt=Phase1Start, then @PSt=Phase2Start, then @PSt=Phase3Start...and so on. Subsequently, we SELECT using @PSt which isn't working at all....??
How can I effect changes to literals then EVAL them at execution...??
Thanks