SQL Server:
Parameter Sniffing

SQL Server: performance
tuning tramite Order by