Thread inside a Loop? SQL Server
Can something like  [#pragma_omp][1] ([OpenMP][2]) in C for loops 

    #pragma omp parallel for    
    for (ii = 0; ii < nrows; ii++){      
      for(jj = 0; jj < ncols; jj++){       
        for (kk = 0; kk < nrows; kk++){
           array[ii][jj] = array[ii]kk] * array[kk][jj];
        }
      }
    }

be applied to a loop in SQL Server?

    WHILE (...) BEGIN
    END

Something to paralelize the loop, using threads, How??


  [1]: http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Fcompiler%2Fref%2Fruompplf.htm
  [2]: http://developers.sun.com/solaris/articles/openmp.html
Thread inside a Loop? SQL Server
===

Can something like  [#pragma_omp][1] ([OpenMP][2]) in C for loops 

    #pragma omp parallel for    
    for (ii = 0; ii < nrows; ii++){      
      for(jj = 0; jj < ncols; jj++){       
        for (kk = 0; kk < nrows; kk++){
           array[ii][jj] = array[ii]kk] * array[kk][jj];
        }
      }
    }

be applied to a loop in SQL Server?

    WHILE (...) BEGIN
    END

Something to paralelize the loop, using threads, How??


  [1]: http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Fcompiler%2Fref%2Fruompplf.htm
  [2]: http://developers.sun.com/solaris/articles/openmp.html