Hi Charles,
One thing I can tell you about the query is that Oracle does not support TOP keyword. So "... SELECT TOP (@MaxRecords) ..." will not work. You must use ROWNUM on the WHERE clause to get the same result:
SELECT LogAll.[Instant], LogAll.[Message] FROM LogAll WHERE rownum <= (@MaxRecords) ORDER BY LogAll.[Instant]
Hope it helps
Kind regards