Comments (4)
I don't have direct access to the standard
You might find these resources useful in the future: https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#_11_10_alter_table_statement and https://crate.io/docs/sql-99/en/latest/chapters/18.html#alter-table-statement (they confirm that CHANGE is non-standard).
from language-sql.
Thanks for the report - do you have a full minimal example that we can copy/paste?
Also, is this keyword MySQL specific or is it supported by other SQL variants?
from language-sql.
CHANGE
is a MySQL extension to standard SQL.
According to the latest MySQL documentation this is a non-standard extension to the standard.
An example usage seems to be statements like this:
ALTER TABLE t1 CHANGE a b BIGINT NOT NULL;
Looking over the equivalent PostgreSQL documentation it seems that most of the functionality under ALTER TABLE
is non-standard in many implementations, as the standard doesn't specify enough for anything beyond basic functionality. I don't have direct access to the standard though so I'm just guessing here.
from language-sql.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
from language-sql.
Related Issues (20)
- Create additional grammars for catering for the various variants HOT 6
- slowness when functions reside within SQL DDL file
- SQL key word not detected maybe due to encoding issue. HOT 1
- Support TOP PERCENT statement syntax
- language-sql wrongly interprets backslash as escaping char for varchars. HOT 4
- Add ability to highlight SQL within a template literal HOT 1
- Trigger / Procedure related keywords HOT 3
- No scopes on punctuation
- PKB and PKS are SQL too
- Create additional grammars for SAP HANA2 on Cloud
- Create Snippets HOT 1
- Highlight JSON type
- INSERT keyword not highlighting within trigger declaration HOT 2
- IF token mis-highlighted for CREATE TABLE IF NOT EXISTS... statements HOT 1
- DELIMITER not highlighting HOT 1
- Lack of validation for missing DELIMITER in triggers HOT 1
- SIGNED, UNSIGNED keywords not highlighted HOT 2
- CONCAT function is not hilighted.
- When used within a PHP string, interpolated PHP variables remain unstyled HOT 1
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 language-sql.