Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for WHEN NOT MATCHED BY SOURCE for MERGE statement [CORE2515] #2925

Closed
firebird-automations opened this issue Jun 18, 2009 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @cincuranet

WHEN NOT MATCHED BY SOURCE THEN <merge_matched>

Specifies that all rows of target_table that do not match the rows returned by <table_source> ON <merge_search_condition>, and that satisfy any additional search condition, are either updated or deleted according to the <merge_matched> clause.

Useful (not only) with DELETE action [CORE2005].

@firebird-automations
Copy link
Collaborator Author

Modified by: @cincuranet

Component: Engine [ 10000 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @cincuranet

description: WHEN NOT MATCHED BY SOURCE THEN <merge_matched>

Specifies that all rows of target_table that do not match the rows returned by <table_source> ON <merge_search_condition>, and that satisfy any additional search condition, are either updated or deleted according to the <merge_matched> clause.

=>

WHEN NOT MATCHED BY SOURCE THEN <merge_matched>

Specifies that all rows of target_table that do not match the rows returned by <table_source> ON <merge_search_condition>, and that satisfy any additional search condition, are either updated or deleted according to the <merge_matched> clause.

Useful (not only) with DELETE action [CORE2005].

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Jiri,

It does not look good feature request for me, sorry.

MERGE is driven by <source> query, so that extension would defeat the standard command completelly.

@firebird-automations
Copy link
Collaborator Author

Commented by: @cincuranet

OK, no problem.

Feel free to close the ticket.

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant