You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/10/21 02:02:17 UTC

[GitHub] [shardingsphere] jingshanglu commented on a change in pull request #7854: Add SQLServer with, top, output clause for delete statement.

jingshanglu commented on a change in pull request #7854:
URL: https://github.com/apache/shardingsphere/pull/7854#discussion_r508943890



##########
File path: shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/src/main/antlr4/imports/sqlserver/DMLStatement.g4
##########
@@ -57,7 +57,7 @@ assignmentValue
     ;
 
 delete
-    : DELETE (singleTableClause | multipleTablesClause) whereClause?
+    : withClause_? DELETE top? (singleTableClause | multipleTablesClause) outputClause_? whereClause?

Review comment:
       @dongzl plz change `withClause_` to `withClause`,`outputClause_` to `outputClause`.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org