Hi
How can i execute a piece of sqlstmt which is stored in a string variable
from query ****yser.
for ex:@var1="select name,code from" + @var2
--
Thanks
External User
sponsored links
2
27th August 19:35
hari prasad
External User
Posts: 1
sqlexec
Hi,
This is actually a dynamic SQL and can be executed using one of the below :-