I have a script that I'm trying to run on SQL 2012 that uses the FASTFIRSTROW hint, but that doesn't work in SQL 2012.
SELECT
C.*, N.TemplatePath
FROM
Content C WITH (UPDLOCK, FASTFIRSTROW),
Nav_Menu N WITH (UPDLOCK, FASTFIRSTROW),
Nav_Menu Nb WITH (UPDLOCK, FASTFIRSTROW)
WHERE
C.NavMenuID = N.NavMenuID
AND
N.AncestorNavMenuID = Nb.NavMenuID
AND
ISNULL(N.HideFlag,'N') <> 'Y'
AND
ISNULL(Nb.HideFlag,'N') <> 'Y'
AND
C.WorkflowStatusCode = 'P'
How do I replace FASTFIRSTROW with OPTION (first 1)?