Question : select within exec

is itpossible to hold a select statement within an exec statement, in some other way?

exec
(
select cast (getdate() as varchar(200))
)

thanks

Answer : select within exec

no, that is not possible like this.
I presume you want to "exec" for each row of what is returned?

please clarify
Random Solutions  
 
programming4us programming4us