Is there a missing closing semicolon after the last ")" in your SQL Server code, and have you verified its presence?
Forum Rules