From all I can find so far, apparently, it's not possible.
Is there a way, short of programming something via Visual Studio, to build a statement that works like this?
This is a very simplistic example, and may make no sense, I'm sure. I'll try to post some further notes on what I'm trying to do either this evening or tomorrow morning.
Thanks for any suggestions if anyone has a clue as to what I'm trying to accomplish here.
Is there a way, short of programming something via Visual Studio, to build a statement that works like this?
Code:
EXEC('SELECT LEF(MyString,12) AS MyString ,REPLACE(MyField,-,) FROM MyTable')
This is a very simplistic example, and may make no sense, I'm sure. I'll try to post some further notes on what I'm trying to do either this evening or tomorrow morning.
Thanks for any suggestions if anyone has a clue as to what I'm trying to accomplish here.