FirebirdSQL/firebird-documentation

Wrong alias in MERGE example (Release notes)

MartinKoeditz opened this issue · 1 comments

I think there is an error in the example of section
Support for WHEN NOT MATCHED BY SOURCE in the MERGE statement

MERGE
	INTO customers c
	USING new_customers nc
	ON (c.id = nc.id)
	WHEN MATCHED THEN
		UPDATE SET	name = cd.name
	WHEN NOT MATCHED BY SOURCE THEN
		DELETE

The alias in UPDATE SET name = cd.name is wrong, isn't it?

Ref: FB 5.0 Relase Notes

Yes, looks like a typo. I'll fix it. Thanks.