What is the correct way to to use these commands, and pass a variable... I
have tried creating a string and executing it, like:
@SQL = "DROP TABLE " + @lcTable
EXEC @lcTable
EXEC sp_executesql @lcTable
typo..
jcg
|
+ Reply to Thread
Results 1 to 1 of 1
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S. Wed Yourself to UML with the Power of Associations Microsoft to Add AJAX Capabilities to ASP.NET IBM's Cloudscape Versus MySQL | ||||||||||||||||||||||||||||||||||
![]() | |||||
|
| |||||
![]() |
Bookmarks