Home Forums SQL Server 2008 T-SQL (SS2K8) STATEMENT LEVEL RECOMPILATION RE: STATEMENT LEVEL RECOMPILATION
Paul White
SSC Guru
Points: 150468
More actions
March 24, 2010 at 7:16 am
#1138895
r.dragoi-1095738 (3/24/2010)Maybe you are looking for something like this: SELECT TOP (10) *FROM tableOPTION (HASH Join , recompile)-- or just simple: OPTION (recompile)
r.dragoi-1095738 (3/24/2010)
SELECT TOP (10) *
FROM table
OPTION (HASH Join , recompile)
-- or just simple: OPTION (recompile)
What's the HASH JOIN hint for? There's no join.
Paul WhiteAll articles available on SQL.kiwi@SQL_Kiwi