Hi,
How do I assign the select statement result to a variable?
Select @.Myvariable = Exec SP_Executesql @.Selectstring
It donesn't work.
Any ideas?
Thanksanswered in another newsgroup - please don't post the same message
independently to multiple newsgroups.
Tuesday, March 27, 2012
Exec SP_Executesql @Selectstring
Labels:
assign,
database,
dones,
exec,
microsoft,
mysql,
myvariable,
oracle,
select,
selectstring,
server,
sp_executesql,
sql,
statement,
variable
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment