Hi all,<br><br>In Oracle I'm able to use nested selects like this one:<br><br><span style="font-style: italic;">select 1 as one, (select 2 from dual d) as two</span><br style="font-style: italic;"><span style="font-style: italic;">
from dual</span><br style="font-style: italic;"><br>When I try to do it in a screen I get the following message:<br><br><span style="font-style: italic;">screen kk<br>sql in sgtompla &<br> declare csr_example cursor for &
<br>select 1 , (select 2 from dual d)&<br> from dual<br> <br> cursor csr_example primary occurs 12<br><span style="color: rgb(255, 0, 0);">*E* Error parsing SQL statement.</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">
DMS-E-GENERAL, A general exception has occurred during operation 'prepare request'.</span><br style="color: rgb(255, 0, 0);"> access sequential<br></span><br>It is possible to use this expresion or I'm missing something.
<br><br><br>Best regards,<br><br>Daniel Rodriguez<br><br><br>