Viewing 2 posts - 1 through 3 (of 3 total)
I get the same thing without the "()". In SQL 2005 BOL, the "()" are noted as the new correct syntax. It still works without for backward compatibility.
March 13, 2007 at 5:59 am
#694637
I reported this to MS as a bug. Here's something that should work to return the correct number of rows using NTILE:
--------------------------
CREATE TABLE #tmp
(intValue int)
DECLARE @value int
SET @value...
March 12, 2007 at 8:04 am
#694392