Update clause with select
-------------------------

                 Key: CORE-3593
                 URL: http://tracker.firebirdsql.org/browse/CORE-3593
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 2.5.0
         Environment: Windows 7
            Reporter: Alfonso Presa


Table INVENTARIO_CONCI_DETA (ID, ID_INV_CONCI, EMPAQUE)
Table Productos (ID, EMPAQUE)

update INVENTARIO_CONCI_DETA de set de.EMPAQUE=(select ID_INV_CONCI from 
productos p where p.ID=de.ID_PROD)

I think this is a bug, ID_INV_CONCI  belongs to INVENTARIO_CONCI_DETA not to 
Productos and this query is allowed by Firebird 2.5 SS. 

Regards, 

Al





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to