Hi all,<br><br>In Oracle I&#39;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;">
&nbsp;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 &amp;<br>&nbsp;declare csr_example cursor for &amp;
<br>select 1 , (select 2 from dual d)&amp;<br>&nbsp;from dual<br>&nbsp;<br>&nbsp;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 &#39;prepare request&#39;.</span><br style="color: rgb(255, 0, 0);">&nbsp; access sequential<br></span><br>It is possible to use this expresion or I&#39;m missing something.
<br><br><br>Best regards,<br><br>Daniel Rodriguez<br><br><br>