Viewing 3 posts - 46 through 48 (of 48 total)
We have some data warehouse applications and some tables which are not indexed etc , in such cases we use it.
March 24, 2010 at 7:49 am
#1138929
In my own query I had a few more tables, but it can used just like I said OPTION (Recompile)
March 24, 2010 at 7:23 am
#1138902
Maybe you are looking for something like this:
SELECT TOP (10) *
FROM table
OPTION (HASH Join , recompile)
-- or just simple: OPTION (recompile)
March 24, 2010 at 7:00 am
#1138874