|
-
May 8th, 2012, 04:02 AM
#1
Thread Starter
Fanatic Member
return select from dynamic sql
Hi All
I have a concatenated sql string:
set @sqlString = 'Select * from blah'
I can then of course execute it with :
exec (@sqlString)
I need to return this select somehow. How can I do something like :
Select * from (exec (@sqlString))
Thanks In Advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|