Using Dymamic Sql
Oct 5, 2007
how to use table variable in dynamic sql?
ex : declare @temptable table (id int, name varchar(50))
execute (' select * from @temptable ' )
the above statement giving error
i want to use @temptable in dynamic sql
Vivek.B
View 2 Replies
Oct 16, 2006
I was reading through the following post regarding dynamic connection strings:
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=812814&SiteID=17
In this posting they talk about setting up a configuration file to setup the connection string, but I am not sure how to apply that connection string to my connection manager. When I go into my configuration file, I can see the connection string, and when I go into the advanced properties of the connection manager, under the "Named ConnectionStringFileName" property, I set the property value to the name of my configuration file, but when I test the connection I get an error that the connection string property has not been initialized.
Can someone please assist me with identifying what I am doing incorrectly?
Thanks in advance for the assistance!
Craig
View 10 Replies
View Related