I am doing the following query for pagination. When I run
$s= oci_parse($conn,"select * from TBL_Name order by D_DATE desc");
$r = oci_execute($s);
then no error shown. When I write the following:
$s= oci_parse($conn,"select * from TBL_Name order by D_DATE desc limit $start,$limit");
$r = oci_execute($s);
error is: oci_execute(): ORA-00933: SQL command not properly ended .
That means problem is with " limit $start,$limit "
, But I need this for pagination. LIMIT is not valid in Oracle perhaps. Now how can I write this query?