I am using below query in my forms but it throws this error:
Oracle Forms - Error 103, Encountered the symbol “END”.
Same query its working on toad, there is no issue.
Is there any limitation to use ORDER by in forms or in sub query or as select table ?
Forms 6i oracle 10g
SELECT apr_rate
INTO lv_apr_rate
FROM
(SELECT apr_rate
FROM cm_contract_extension
WHERE country_code = '044'
AND company_code = '0441'
AND contract_number = '0000002140426510'
AND supply_sequence_number = 1
ORDER BY version_number DESC)
WHERE ROWNUM < 2 ;
BR, Shadab Hussain
ORDER BYrather than specifyingORDER BYexplicitly in SQL. - Jacob