SQL Server front-end (T-SQL)
Connecting SQL Server clients (sqlcmd, ODBC, JDBC, .NET) to Raft DB over the TDS protocol, and the T-SQL it understands.
- Overview: What the SQL Server front-end is, how to start it and what to expect.
- Names and data types: Identifiers, schemas and the SQL Server data types and how each is stored.
- Statements and functions: The T-SQL statements, functions and system objects that are translated, with how.
- Errors, refused statements and known differences: SQL Server error numbers, what is refused and how the behaviour differs from SQL Server.
- The TDS protocol server: How the TDS protocol is implemented: packets, login, batches, RPC, types, and what is not done.
- Tools, administration and frameworks (stage 5): What SSMS, Azure Data Studio, DBeaver and the frameworks read, logins and permissions that are enforced, administration statements, and the framework smoke runs.
- Stage 6 (MARS, collations, Agent, spatial, backup): MARS, collations and code pages, SQL Agent schedules that fire, geometry and geography, BACKUP and RESTORE, column permissions, KILL.
- Stage 7 (server cursors, FORMAT, grouping sets, 2022 functions): Server cursors for JDBC, ODBC and ADO, keyset and dynamic T-SQL cursors, LIKE / PATINDEX / FORMAT with any expression, GROUPING SETS, the newer T-SQL functions, PARSE with cultures, CONTAINS conditions.
- Compatibility testing: How the SQL Server front-end is tested, and where the unsupported features are listed.
- Second pass (time zones, WINDOW, hashes, MERGE TOP): The T-SQL that stage 7 left refused, built (D136) - datetimeoffset and AT TIME ZONE, DATE_BUCKET, the WINDOW clause, IGNORE NULLS, shift operators, MERGE TOP, HASHBYTES, COMPRESS, NEWSEQUENTIALID, TYPEPROPERTY, Hijri styles, ALTER TABLE ADD identity, Reduce.
- T-SQL: stage 9: What stage 9 (D146) built - hierarchyid, more geometry and geography methods, the catalog answers tools read, MERGE TOP with BY SOURCE, binary shifts, defaults of existing columns, implicit transactions, TLS settings - and what is decided out of scope.