ilyasahsan123 commented on code in PR #29610:
URL: https://github.com/apache/shardingsphere/pull/29610#discussion_r1438968177


##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/PLSQL.g4:
##########
@@ -280,9 +284,37 @@ autonomousTransPragma
     ;
 
 dmlEventClause
-    : dmlEventElement (OR dmlEventElement)* ON viewName
+    : (dmlEventElement (OR dmlEventElement)* ON viewName)
+    | (nonDmlEventElement (OR nonDmlEventElement)* ON (DATABASE | (schemaName 
DOT_)? SCHEMA))
     ;
 
 dmlEventElement
     : (DELETE | INSERT | UPDATE) (OF LP_ columnName (COMMA_ columnName)* RP_)?
     ;
+
+nonDmlEventElement
+    : ALTER

Review Comment:
   here is the reference:
   https://docs.oracle.com/cd/B13789_01/server.101/b10759/statements_7004.htm
   
   <img width="1726" alt="Screenshot 2024-01-01 at 13 12 59" 
src="https://github.com/apache/shardingsphere/assets/14249648/53d88b82-1085-46b9-8acd-130696a0da2f";>
   
   Please let me know, if you have any concern.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to