merge and default
-----------------

                 Key: CORE-6311
                 URL: http://tracker.firebirdsql.org/browse/CORE-6311
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 4.0 Beta 2
            Reporter: orhan turhan


merge into table
using log on table.id = log.id
when matched then
  update set name = log.name
when not matched then
--  insert (name) values (default) -- no problem
  insert (name) values (iif(0=0, default, name)) -- problem

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

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to