I have the following query which works in SQL Server :-
query = "select * from (select *,ROW_NUMBER() OVER (ORDER BY LogDate)
AS ROW_NUM from table1) x where ROW_NUM>0";
But I want this in Access OLEDB
, which doesn't support ROW_NUMBER()
function.
What is another way to get ROW NUMBER
in OLEDB Provider?