summaryrefslogtreecommitdiff
path: root/highlighting/sql92-hl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'highlighting/sql92-hl.xml')
-rw-r--r--highlighting/sql92-hl.xml339
1 files changed, 339 insertions, 0 deletions
diff --git a/highlighting/sql92-hl.xml b/highlighting/sql92-hl.xml
new file mode 100644
index 0000000..111c519
--- /dev/null
+++ b/highlighting/sql92-hl.xml
@@ -0,0 +1,339 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Syntax highlighting definition for SQL-92
+
+xslthl - XSLT Syntax Highlighting
+http://sourceforge.net/projects/xslthl/
+Copyright (C) 2012 Michiel Hendriks, Martin Hujer, k42b3
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
+
+-->
+<highlighters>
+ <highlighter type="oneline-comment">--</highlighter>
+ <highlighter type="multiline-comment">
+ <start>/*</start>
+ <end>*/</end>
+ </highlighter>
+ <highlighter type="string">
+ <string>'</string>
+ <doubleEscapes />
+ </highlighter>
+ <highlighter type="string">
+ <string>B'</string>
+ <endString>'</endString>
+ <doubleEscapes />
+ </highlighter>
+ <highlighter type="string">
+ <string>N'</string>
+ <endString>'</endString>
+ <doubleEscapes />
+ </highlighter>
+ <highlighter type="string">
+ <string>X'</string>
+ <endString>'</endString>
+ <doubleEscapes />
+ </highlighter>
+ <highlighter type="number">
+ <point>.</point>
+ <pointStarts />
+ <exponent>e</exponent>
+ <ignoreCase />
+ </highlighter>
+ <highlighter type="keywords">
+ <ignoreCase />
+ <!-- reserved -->
+ <keyword>ABSOLUTE</keyword>
+ <keyword>ACTION</keyword>
+ <keyword>ADD</keyword>
+ <keyword>ALL</keyword>
+ <keyword>ALLOCATE</keyword>
+ <keyword>ALTER</keyword>
+ <keyword>AND</keyword>
+ <keyword>ANY</keyword>
+ <keyword>ARE</keyword>
+ <keyword>AS</keyword>
+ <keyword>ASC</keyword>
+ <keyword>ASSERTION</keyword>
+ <keyword>AT</keyword>
+ <keyword>AUTHORIZATION</keyword>
+ <keyword>AVG</keyword>
+ <keyword>BEGIN</keyword>
+ <keyword>BETWEEN</keyword>
+ <keyword>BIT_LENGTH</keyword>
+ <keyword>BIT</keyword>
+ <keyword>BOTH</keyword>
+ <keyword>BY</keyword>
+ <keyword>CASCADE</keyword>
+ <keyword>CASCADED</keyword>
+ <keyword>CASE</keyword>
+ <keyword>CAST</keyword>
+ <keyword>CATALOG</keyword>
+ <keyword>CHAR_LENGTH</keyword>
+ <keyword>CHAR</keyword>
+ <keyword>CHARACTER_LENGTH</keyword>
+ <keyword>CHARACTER</keyword>
+ <keyword>CHECK</keyword>
+ <keyword>CLOSE</keyword>
+ <keyword>COALESCE</keyword>
+ <keyword>COLLATE</keyword>
+ <keyword>COLLATION</keyword>
+ <keyword>COLUMN</keyword>
+ <keyword>COMMIT</keyword>
+ <keyword>CONNECT</keyword>
+ <keyword>CONNECTION</keyword>
+ <keyword>CONSTRAINT</keyword>
+ <keyword>CONSTRAINTS</keyword>
+ <keyword>CONTINUE</keyword>
+ <keyword>CONVERT</keyword>
+ <keyword>CORRESPONDING</keyword>
+ <keyword>CREATE</keyword>
+ <keyword>CROSS</keyword>
+ <keyword>CURRENT_DATE</keyword>
+ <keyword>CURRENT_TIME</keyword>
+ <keyword>CURRENT_TIMESTAMP</keyword>
+ <keyword>CURRENT_USER</keyword>
+ <keyword>CURRENT</keyword>
+ <keyword>CURSOR</keyword>
+ <keyword>DATE</keyword>
+ <keyword>DAY</keyword>
+ <keyword>DEALLOCATE</keyword>
+ <keyword>DEC</keyword>
+ <keyword>DECIMAL</keyword>
+ <keyword>DECLARE</keyword>
+ <keyword>DEFAULT</keyword>
+ <keyword>DEFERRABLE</keyword>
+ <keyword>DEFERRED</keyword>
+ <keyword>DELETE</keyword>
+ <keyword>DESC</keyword>
+ <keyword>DESCRIBE</keyword>
+ <keyword>DESCRIPTOR</keyword>
+ <keyword>DIAGNOSTICS</keyword>
+ <keyword>DISCONNECT</keyword>
+ <keyword>DISTINCT</keyword>
+ <keyword>DOMAIN</keyword>
+ <keyword>DOUBLE</keyword>
+ <keyword>DROP</keyword>
+ <keyword>ELSE</keyword>
+ <keyword>END</keyword>
+ <keyword>END-EXEC</keyword>
+ <keyword>ESCAPE</keyword>
+ <keyword>EXCEPT</keyword>
+ <keyword>EXCEPTION</keyword>
+ <keyword>EXEC</keyword>
+ <keyword>EXECUTE</keyword>
+ <keyword>EXISTS</keyword>
+ <keyword>EXTERNAL</keyword>
+ <keyword>EXTRACT</keyword>
+ <keyword>FALSE</keyword>
+ <keyword>FETCH</keyword>
+ <keyword>FIRST</keyword>
+ <keyword>FLOAT</keyword>
+ <keyword>FOR</keyword>
+ <keyword>FOREIGN</keyword>
+ <keyword>FOUND</keyword>
+ <keyword>FROM</keyword>
+ <keyword>FULL</keyword>
+ <keyword>GET</keyword>
+ <keyword>GLOBAL</keyword>
+ <keyword>GO</keyword>
+ <keyword>GOTO</keyword>
+ <keyword>GRANT</keyword>
+ <keyword>GROUP</keyword>
+ <keyword>HAVING</keyword>
+ <keyword>HOUR</keyword>
+ <keyword>IDENTITY</keyword>
+ <keyword>IMMEDIATE</keyword>
+ <keyword>IN</keyword>
+ <keyword>INDICATOR</keyword>
+ <keyword>INITIALLY</keyword>
+ <keyword>INNER</keyword>
+ <keyword>INPUT</keyword>
+ <keyword>INSENSITIVE</keyword>
+ <keyword>INSERT</keyword>
+ <keyword>INT</keyword>
+ <keyword>INTEGER</keyword>
+ <keyword>INTERSECT</keyword>
+ <keyword>INTERVAL</keyword>
+ <keyword>INTO</keyword>
+ <keyword>IS</keyword>
+ <keyword>ISOLATION</keyword>
+ <keyword>JOIN</keyword>
+ <keyword>KEY</keyword>
+ <keyword>LANGUAGE</keyword>
+ <keyword>LAST</keyword>
+ <keyword>LEADING</keyword>
+ <keyword>LEFT</keyword>
+ <keyword>LEVEL</keyword>
+ <keyword>LIKE</keyword>
+ <keyword>LOCAL</keyword>
+ <keyword>LOWER</keyword>
+ <keyword>MATCH</keyword>
+ <keyword>MAX</keyword>
+ <keyword>MIN</keyword>
+ <keyword>MINUTE</keyword>
+ <keyword>MODULE</keyword>
+ <keyword>MONTH</keyword>
+ <keyword>NAMES</keyword>
+ <keyword>NATIONAL</keyword>
+ <keyword>NATURAL</keyword>
+ <keyword>NCHAR</keyword>
+ <keyword>NEXT</keyword>
+ <keyword>NO</keyword>
+ <keyword>NOT</keyword>
+ <keyword>NULL</keyword>
+ <keyword>NULLIF</keyword>
+ <keyword>NUMERIC</keyword>
+ <keyword>OCTET_LENGTH</keyword>
+ <keyword>OF</keyword>
+ <keyword>ON</keyword>
+ <keyword>ONLY</keyword>
+ <keyword>OPEN</keyword>
+ <keyword>OPTION</keyword>
+ <keyword>OR</keyword>
+ <keyword>ORDER</keyword>
+ <keyword>OUTER</keyword>
+ <keyword>OUTPUT</keyword>
+ <keyword>OVERLAPS</keyword>
+ <keyword>PAD</keyword>
+ <keyword>PARTIAL</keyword>
+ <keyword>POSITION</keyword>
+ <keyword>PRECISION</keyword>
+ <keyword>PREPARE</keyword>
+ <keyword>PRESERVE</keyword>
+ <keyword>PRIMARY</keyword>
+ <keyword>PRIOR</keyword>
+ <keyword>PRIVILEGES</keyword>
+ <keyword>PROCEDURE</keyword>
+ <keyword>PUBLIC</keyword>
+ <keyword>READ</keyword>
+ <keyword>REAL</keyword>
+ <keyword>REFERENCES</keyword>
+ <keyword>RELATIVE</keyword>
+ <keyword>RESTRICT</keyword>
+ <keyword>REVOKE</keyword>
+ <keyword>RIGHT</keyword>
+ <keyword>ROLLBACK</keyword>
+ <keyword>ROWS</keyword>
+ <keyword>SCHEMA</keyword>
+ <keyword>SCROLL</keyword>
+ <keyword>SECOND</keyword>
+ <keyword>SECTION</keyword>
+ <keyword>SELECT</keyword>
+ <keyword>SESSION_USER</keyword>
+ <keyword>SESSION</keyword>
+ <keyword>SET</keyword>
+ <keyword>SIZE</keyword>
+ <keyword>SMALLINT</keyword>
+ <keyword>SOME</keyword>
+ <keyword>SPACE</keyword>
+ <keyword>SQL</keyword>
+ <keyword>SQLCODE</keyword>
+ <keyword>SQLERROR</keyword>
+ <keyword>SQLSTATE</keyword>
+ <keyword>SUBSTRING</keyword>
+ <keyword>SUM</keyword>
+ <keyword>SYSTEM_USER</keyword>
+ <keyword>TABLE</keyword>
+ <keyword>TEMPORARY</keyword>
+ <keyword>THEN</keyword>
+ <keyword>TIME</keyword>
+ <keyword>TIMESTAMP</keyword>
+ <keyword>TIMEZONE_HOUR</keyword>
+ <keyword>TIMEZONE_MINUTE</keyword>
+ <keyword>TO</keyword>
+ <keyword>TRAILING</keyword>
+ <keyword>TRANSACTION</keyword>
+ <keyword>TRANSLATE</keyword>
+ <keyword>TRANSLATION</keyword>
+ <keyword>TRIM</keyword>
+ <keyword>TRUE</keyword>
+ <keyword>UNION</keyword>
+ <keyword>UNIQUE</keyword>
+ <keyword>UNKNOWN</keyword>
+ <keyword>UPDATE</keyword>
+ <keyword>UPPER</keyword>
+ <keyword>USAGE</keyword>
+ <keyword>USER</keyword>
+ <keyword>USING</keyword>
+ <keyword>VALUE</keyword>
+ <keyword>VALUES</keyword>
+ <keyword>VARCHAR</keyword>
+ <keyword>VARYING</keyword>
+ <keyword>VIEW</keyword>
+ <keyword>WHEN</keyword>
+ <keyword>WHENEVER</keyword>
+ <keyword>WHERE</keyword>
+ <keyword>WITH</keyword>
+ <keyword>WORK</keyword>
+ <keyword>WRITE</keyword>
+ <keyword>YEAR</keyword>
+ <keyword>ZONE</keyword>
+ <!-- non reserved keywords -->
+ <keyword>ADA</keyword>
+ <keyword>C</keyword>
+ <keyword>CATALOG_NAME</keyword>
+ <keyword>CHARACTER_SET_CATALOG</keyword>
+ <keyword>CHARACTER_SET_NAME</keyword>
+ <keyword>CHARACTER_SET_SCHEMA</keyword>
+ <keyword>CLASS_ORIGIN</keyword>
+ <keyword>COBOL</keyword>
+ <keyword>COLLATION_CATALOG</keyword>
+ <keyword>COLLATION_NAME</keyword>
+ <keyword>COLLATION_SCHEMA</keyword>
+ <keyword>COLUMN_NAME</keyword>
+ <keyword>COMMAND_FUNCTION</keyword>
+ <keyword>COMMITTED</keyword>
+ <keyword>CONDITION_NUMBER</keyword>
+ <keyword>CONNECTION_NAME</keyword>
+ <keyword>CONSTRAINT_CATALOG</keyword>
+ <keyword>CONSTRAINT_NAME</keyword>
+ <keyword>CONSTRAINT_SCHEMA</keyword>
+ <keyword>CURSOR_NAME</keyword>
+ <keyword>DATA</keyword>
+ <keyword>DATETIME_INTERVAL_CODE</keyword>
+ <keyword>DATETIME_INTERVAL_PRECISION</keyword>
+ <keyword>DYNAMIC_FUNCTION</keyword>
+ <keyword>FORTRAN</keyword>
+ <keyword>LENGTH</keyword>
+ <keyword>MESSAGE_LENGTH</keyword>
+ <keyword>MESSAGE_OCTET_LENGTH</keyword>
+ <keyword>MESSAGE_TEXT</keyword>
+ <keyword>MORE</keyword>
+ <keyword>MUMPS</keyword>
+ <keyword>NAME</keyword>
+ <keyword>NULLABLE</keyword>
+ <keyword>NUMBER</keyword>
+ <keyword>PASCAL</keyword>
+ <keyword>PLI</keyword>
+ <keyword>REPEATABLE</keyword>
+ <keyword>RETURNED_LENGTH</keyword>
+ <keyword>RETURNED_OCTET_LENGTH</keyword>
+ <keyword>RETURNED_SQLSTATE</keyword>
+ <keyword>ROW_COUNT</keyword>
+ <keyword>SCALE</keyword>
+ <keyword>SCHEMA_NAME</keyword>
+ <keyword>SERIALIZABLE</keyword>
+ <keyword>SERVER_NAME</keyword>
+ <keyword>SUBCLASS_ORIGIN</keyword>
+ <keyword>TABLE_NAME</keyword>
+ <keyword>TYPE</keyword>
+ <keyword>UNCOMMITTED</keyword>
+ <keyword>UNNAMED</keyword>
+ </highlighter>
+</highlighters>