Sintassi non corretta in prossimità della parola chiave 'with'. Se l'istruzione è un'espressione di tabella comune o una clausola xmlnamespaces, l'istruzione precedente deve terminare con un punto e virgola (;).
Click to search this error in Google
English version
Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon.