Home Forums SQL Server 2008 T-SQL (SS2K8) ORDER BY = Bubble Sort ? Quick Sort ? Insertion Sort ? RE: ORDER BY = Bubble Sort ? Quick Sort ? Insertion Sort ?

  • GilaMonster (3/7/2013)


    Unless the data's small enough it can manage entirely within the memory grant. Not much chance of that except with trivial data.

    Not arguing, just clarifying, won't it allocate some space on tempdb anyway?

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning