提交 c5fec375 编写于 作者: 马晓光

add sql server drop index rule, drop table rule, truncate rule

上级 9c9a59c3
grammar SQLServerAlterIndex;
import SQLServerKeyword, DataType, Keyword, SQLServerBase,BaseRule,Symbol;
import SQLServerKeyword, DataType, Keyword, SQLServerBase, BaseRule, Symbol;
alterIndex:
alterIndexOp
......
grammar SQLServerDropIndex;
import SQLServerKeyword, DataType, Keyword, SQLServerBase, BaseRule, Symbol;
dropIndex:
DROP INDEX tableOrViewName (WITH LEFT_PAREN dropIndexOptions RIGHT_PAREN)?
;
dropIndexOptions:
dropIndexOption (COMMA dropIndexOption)*
;
dropIndexOption:
MAXDOP EQ_OR_ASSIGN NUMBER
| ONLINE EQ_OR_ASSIGN (ON | OFF)
;
\ No newline at end of file
grammar SQLServerDropTable;
import SQLServerKeyword, DataType, Keyword, SQLServerBase, BaseRule, Symbol;
dropTable:
DROP TABLE (IF EXISTS)? tableNames
;
\ No newline at end of file
grammar SQLServerTruncate;
import SQLServerKeyword, DataType, Keyword, SQLServerBase, BaseRule, Symbol;
truncate:
TRUNCATE TABLE tableName (WITH LEFT_PAREN PARTITIONS LEFT_PAREN partitionExpressions RIGHT_PAREN RIGHT_PAREN)?
;
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册