migrated to SQL Server, update getAll to work