Accessible field values in UPDATE OR INSERT INTO
------------------------------------------------

                 Key: CORE-4580
                 URL: http://tracker.firebirdsql.org/browse/CORE-4580
             Project: Firebird Core
          Issue Type: Improvement
          Components: Engine
    Affects Versions: 2.5.3
            Reporter: Jonas Jasas


Make it possible to access field values in VALUES statement if it is UPDATE, if 
INSERT then values can be NULL. That would make this possible:
UPDATE OR INSERT INTO table1 (
    table1.id,
    table1.code,
    table1.name
) VALUES (
    COALESCE(table1.id, gen_id(id)),
    '007',
    'James'
) MATCHING (
    table1.code
);


-- 
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

        

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to