Impossible d'utiliser directement NEXT VALUE FOR dans une instruction qui utilise un opérateur DISTINCT, UNION ALL, EXCEPT ...

Impossible d'utiliser directement NEXT VALUE FOR dans une instruction qui utilise un opérateur DISTINCT, UNION ALL, EXCEPT ou INTERSECT.
La fonction NEXT VALUE FOR ne peut pas être utilisée directement dans une instruction qui utilise un opérateur DISTINCT, UNION, UNION ALL, EXCEPT ou INTERSECT.