Help with looping a dynamic sql string
i am trying to run the following and was wandering what part of sytax i am
missing in order for the loop to work properly
SQL = " Insert Into tblCLTestQs "
SQL = SQL & "( "
for Loopenit = 1 to NumberOFQs step 1
SQL = SQL & " Q" & Loopenit & ", "
SQL = SQL & " TestID) "
SQL = SQL & " Values ( "
for Addenit = 1 to 50 step 1
SQL = SQL & " '" & memQ & Addenit & "', "
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