• What SQL dialect is it?

    In MS SQL Server T-SQL you should use parameters in form @year, @ccty, etc.