DatabaseConnection build sql strings with formatted strings