AR goals ported to SQL server