Overview of MSSQL Parser Support
masterThe MSSQL (SQL Server) parser converts T-SQL DDL statements into DBML format using an ANTLR4 parser. It supports SQL Server-specific syntax such as IDENTITY columns, temporary tables (prefixed with #), and [identifier] square bracket syntax.
Key Capabilities:
- Data Definition:
CREATE TABLEwith parameterized types (e.g.,VARCHAR(255)) and temporary tables. - Constraints:
PRIMARY KEY,FOREIGN KEY(table-level),UNIQUE,CHECK,DEFAULT, andNOT NULL. - Auto-increment:
IDENTITYwith seed and increment. - Indexes:
CREATE INDEX(basic, multi-column, unique). - Schema Modification:
ALTER TABLE ADD CONSTRAINTfor various constraint types. - Data Manipulation: Basic and multi-row
INSERTstatements.