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.
Showing posts with label myvariable. Show all posts
Showing posts with label myvariable. Show all posts
Tuesday, March 27, 2012
Exec SP_Executesql @Selectstring
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.
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.
Labels:
assign,
database,
dones,
exec,
microsoft,
mysql,
myvariable,
oracle,
select,
selectstring,
server,
sp_executesql,
sql,
statement,
variable
Exec SP_Executesql @Selectstring
Hi,
How do I assign the select statement result to a variable?
Select @.Myvariable = Exec SP_Executesql @.Selectstring
It donesn't work.
Any ideas?
Thanks
answered in another newsgroup - please don't post the same message
independently to multiple newsgroups.
How do I assign the select statement result to a variable?
Select @.Myvariable = Exec SP_Executesql @.Selectstring
It donesn't work.
Any ideas?
Thanks
answered in another newsgroup - please don't post the same message
independently to multiple newsgroups.
Labels:
assign,
database,
donesnt,
exec,
microsoft,
mysql,
myvariable,
oracle,
select,
selectstring,
selectstringit,
server,
sp_executesql,
sql,
statement,
variableselect
Subscribe to:
Posts (Atom)