deayalas / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Support the NATURAL keyword in SQL syntax highlighting #231

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There had been a SQL keyword enhancement recently, due to Issue 191.

These are more standard SQL keywords, that could be added to lang-sql.js (patch 
attached)

- MATCHED (from the MERGE clause)
- NATURAL (for NATURAL JOIN)
- PARTITION (for PARTITION BY expressions)

Some Oracle-specific keywords:

- CONNECT (for the CONNECT BY clause)
- NOCYCLE (for the CONNECT BY NOCYCLE clause)
- PIVOT (for PIVOT tables, also available in SQL Server)
- START (for the CONNECT BY .. START WITH clause)
- UNPIVOT (for PIVOT tables, also available in SQL Server)
- WITHIN (for ordered aggregate functions: WITHIN GROUP ORDER BY)
- XML

Original issue reported on code.google.com by lukas.eder@gmail.com on 4 Aug 2012 at 9:36

Attachments:

GoogleCodeExporter commented 8 years ago
Done as of r237

Original comment by mikesamuel@gmail.com on 5 Feb 2013 at 12:58