>There is not enough disk space for "name" (Error 56) at line
> insert into curFinalResult from memvar
>
How many records do you have in the resulting cursor you're scanning?
Try
select avg(nCount) * count(*) as TotalRecordsToHave from curTAlias1
what will be the number?
If it's not broken, fix it until it is.
My Blog