因为ID是int类型,所以ROW_NUMBER() over(order by ID desc ) as RowNumber 想当然的认为是Int类型
实际ROW_NUMBER() over(order by ID desc ) as RowNumber 返回的是Int64类型。
因为ID是int类型,所以ROW_NUMBER() over(order by ID desc ) as RowNumber 想当然的认为是Int类型
实际ROW_NUMBER() over(order by ID desc ) as RowNumber 返回的是Int64类型。