Comments (1)
The sql-formatter currently doesn't support T-SQL. Like it also doesn't support PL/SQL and other procedural programming extensions for SQL.
While simply adding support for DECLARE
would be simple, there's a whole load of additional keywords in T-SQL and the expected formatting of these constructs is somewhat different from ordinary SQL formatting.
Therefore my initial response to your request is no. Unless you want to contribute by writing full T-SQL formatting support. I also don't remember any previous requests for T-SQL support.
from sql-formatter.
Related Issues (20)
- [FORMATTING] Inconsistent formatting for queries with `$$` HOT 5
- Incorrect indentation in PostgreSQL `DELETE FROM ... USING` HOT 1
- Feature Request: Remove unnecessary parentheses HOT 2
- [FORMATTING] PostgreSQL `TYPE` keyword used as identifier causes indentation errors HOT 1
- Unable to format SQL: Error: Parse error: Unexpected "$$ DECLARE" HOT 1
- [FORMATTING] Parenthesized query starting directly after CTE HOT 2
- [FORMATTING] `"indentStyle": "tabularLeft"` behavior changed in v15.0.0 HOT 4
- [FORMATTING] `IDENTIFIED` recognized as identifier
- PHP code inside SQL HOT 5
- Have compiled js file download? HOT 1
- Feature Request: support for BETWEEN AND clause HOT 3
- Feature Request: Comma Position HOT 2
- [FORMATTING] Missing indent level of comment after CASE HOT 1
- [FORMATTING] % modulo formatting causes parse error HOT 1
- SQLServer system table 'master..sysprocesses' cannot be parsed HOT 3
- Expose more configuration options on the command line HOT 3
- [FORMATTING] 'DESC' is not capitalised unlike other SQL keywords HOT 4
- Ability to disable the formatter for a block of SQL HOT 2
- [FORMATTING] Issue with format clickhouse formatter. HOT 1
- [FORMATTING] OPTION Formatting for T-SQL HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sql-formatter.