pub struct Merge {
pub merge_token: AttachedToken,
pub optimizer_hint: Option<OptimizerHint>,
pub into: bool,
pub table: TableFactor,
pub source: TableFactor,
pub on: Box<Expr>,
pub clauses: Vec<MergeClause>,
pub output: Option<OutputClause>,
}Expand description
A MERGE statement.
The MERGE token that starts the statement.
optional INTO keyword
Specifies the table to merge
Specifies the table or subquery to join with the target table
Specifies the expression on which to join the target table and source
Specifies the actions to perform when values match or do not match.
Specifies the output to save changes in MSSQL