SQL Server Adapter
The SQL Server adapter provides T-SQL support for Microsoft SQL Server databases with enterprise features.Installation
Basic Usage
Configuration
SQL Server Features
Default Schema
- Default schema:
dbo - System schemas:
INFORMATION_SCHEMA,sys
Identifier Quoting
SQL Server uses square brackets:TOP Instead of LIMIT
Validation
UsesSET PARSEONLY ON for validation:
Error Handling
| Error Code | Type | Suggestion |
|---|---|---|
| 208 | MISSING_TABLE | Include schema prefix (e.g., dbo.TableName) |
| 207 | INVALID_COLUMN | Verify column exists |
| 156 | SYNTAX_ERROR | Review keywords and GROUP BY clauses |
| 4104 | INVALID_COLUMN | Qualify columns with table aliases |
Complete Example
Best Practices
1. Use Schemas
2. Enable Connection Pooling
3. Use Indexes
Next Steps
MySQL Adapter
Setup for MySQL and MariaDB
API Reference
Full adapter API