bsp; else
if isnull(@indexname,'')<>''
begin
exec(' create index ' + @indexname+ ' on ' + @tablename+ ' ( '+@columnname+' )')
select @indexname=''
end
end
end
close cursorname
deallocate cursorname
go
bsp; else
if isnull(@indexname,'')<>''
begin
exec(' create index ' + @indexname+ ' on ' + @tablename+ ' ( '+@columnname+' )')
select @indexname=''
end
end
end
close cursorname
deallocate cursorname
go