Hi, <br /><br />Shouldn't the final command below cause a 'column "b" does not exist error'?<br /><br />create table
update_test(a int, b int);<br />create table supdate_test(x int, y int);<br />insert into update_test values (20, 30);
<br/>insert into supdate_test values (40, 50);<br />select a, (select b from supdate_test) from update_test;<br /><br
/> a ?column?<br />---------- -------------------------<br /> 20 30<br /><br />Is the problem
withthe code in colNameToVar or maybe we should add checks in transformSubLink? <br /><br clear="all" />Regards,<br
/>Nikhils<br/>-- <br />EnterpriseDB <a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a>