[#7171] MERGE without INTO (possible in SQL Server)

This commit is contained in:
lukaseder 2018-03-09 12:55:19 +01:00
parent 3dcb32098e
commit e545a4bde0

View File

@ -1279,7 +1279,8 @@ final class ParserImpl implements Parser {
}
private static final Merge<?> parseMerge(ParserContext ctx, WithImpl with) {
parseKeyword(ctx, "MERGE INTO");
parseKeyword(ctx, "MERGE");
parseKeywordIf(ctx, "INTO");
Table<?> target = parseTableName(ctx);
if (parseKeywordIf(ctx, "AS") || !peekKeyword(ctx, "USING"))