Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 More dynamic sql

Author  Topic 

skillile
Posting Yak Master

208 Posts

Posted - 2001-11-04 : 21:57:31
Sorry if this is redundant but I don't quite understand the sp_executesql.

Here is my goal.

DECLARE @x int
SET @x =1
create table #temp (uid int)
while @x < 3
alter table #temp add @x int
@x=@x+1
begin

do I need to create a sproc to do the column add?

slow down to move faster...
   

- Advertisement -