sql1999-hl.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Syntax highlighting definition for SQL:1999
  4. xslthl - XSLT Syntax Highlighting
  5. http://sourceforge.net/projects/xslthl/
  6. Copyright (C) 2012 Michiel Hendriks, Martin Hujer, k42b3
  7. This software is provided 'as-is', without any express or implied
  8. warranty. In no event will the authors be held liable for any damages
  9. arising from the use of this software.
  10. Permission is granted to anyone to use this software for any purpose,
  11. including commercial applications, and to alter it and redistribute it
  12. freely, subject to the following restrictions:
  13. 1. The origin of this software must not be misrepresented; you must not
  14. claim that you wrote the original software. If you use this software
  15. in a product, an acknowledgment in the product documentation would be
  16. appreciated but is not required.
  17. 2. Altered source versions must be plainly marked as such, and must not be
  18. misrepresented as being the original software.
  19. 3. This notice may not be removed or altered from any source distribution.
  20. -->
  21. <highlighters>
  22. <highlighter type="oneline-comment">--</highlighter>
  23. <highlighter type="multiline-comment">
  24. <start>/*</start>
  25. <end>*/</end>
  26. </highlighter>
  27. <highlighter type="string">
  28. <string>'</string>
  29. <doubleEscapes />
  30. </highlighter>
  31. <highlighter type="string">
  32. <string>B'</string>
  33. <endString>'</endString>
  34. <doubleEscapes />
  35. </highlighter>
  36. <highlighter type="string">
  37. <string>N'</string>
  38. <endString>'</endString>
  39. <doubleEscapes />
  40. </highlighter>
  41. <highlighter type="string">
  42. <string>X'</string>
  43. <endString>'</endString>
  44. <doubleEscapes />
  45. </highlighter>
  46. <highlighter type="number">
  47. <point>.</point>
  48. <pointStarts />
  49. <exponent>e</exponent>
  50. <ignoreCase />
  51. </highlighter>
  52. <highlighter type="keywords">
  53. <ignoreCase />
  54. <!-- reserved -->
  55. <keyword>ABSOLUTE</keyword>
  56. <keyword>ACTION</keyword>
  57. <keyword>ADD</keyword>
  58. <keyword>AFTER</keyword>
  59. <keyword>ALL</keyword>
  60. <keyword>ALLOCATE</keyword>
  61. <keyword>ALTER</keyword>
  62. <keyword>AND</keyword>
  63. <keyword>ANY</keyword>
  64. <keyword>ARE</keyword>
  65. <keyword>ARRAY</keyword>
  66. <keyword>AS</keyword>
  67. <keyword>ASC</keyword>
  68. <keyword>ASSERTION</keyword>
  69. <keyword>AT</keyword>
  70. <keyword>AUTHORIZATION</keyword>
  71. <keyword>BEFORE</keyword>
  72. <keyword>BEGIN</keyword>
  73. <keyword>BETWEEN</keyword>
  74. <keyword>BINARY</keyword>
  75. <keyword>BIT</keyword>
  76. <keyword>BLOB</keyword>
  77. <keyword>BOOLEAN</keyword>
  78. <keyword>BOTH</keyword>
  79. <keyword>BREADTH</keyword>
  80. <keyword>BY</keyword>
  81. <keyword>CALL</keyword>
  82. <keyword>CASCADE</keyword>
  83. <keyword>CASCADED</keyword>
  84. <keyword>CASE</keyword>
  85. <keyword>CAST</keyword>
  86. <keyword>CATALOG</keyword>
  87. <keyword>CHAR</keyword>
  88. <keyword>CHARACTER</keyword>
  89. <keyword>CHECK</keyword>
  90. <keyword>CLOB</keyword>
  91. <keyword>CLOSE</keyword>
  92. <keyword>COLLATE</keyword>
  93. <keyword>COLLATION</keyword>
  94. <keyword>COLUMN</keyword>
  95. <keyword>COMMIT</keyword>
  96. <keyword>CONDITION</keyword>
  97. <keyword>CONNECT</keyword>
  98. <keyword>CONNECTION</keyword>
  99. <keyword>CONSTRAINT</keyword>
  100. <keyword>CONSTRAINTS</keyword>
  101. <keyword>CONSTRUCTOR</keyword>
  102. <keyword>CONTINUE</keyword>
  103. <keyword>CORRESPONDING</keyword>
  104. <keyword>CREATE</keyword>
  105. <keyword>CROSS</keyword>
  106. <keyword>CUBE</keyword>
  107. <keyword>CURRENT</keyword>
  108. <keyword>CURRENT_DATE</keyword>
  109. <keyword>CURRENT_DEFAULT_TRANSFORM_GROUP</keyword>
  110. <keyword>CURRENT_TRANSFORM_GROUP_FOR_TYPE</keyword>
  111. <keyword>CURRENT_PATH</keyword>
  112. <keyword>CURRENT_ROLE</keyword>
  113. <keyword>CURRENT_TIME</keyword>
  114. <keyword>CURRENT_TIMESTAMP</keyword>
  115. <keyword>CURRENT_USER</keyword>
  116. <keyword>CURSOR</keyword>
  117. <keyword>CYCLE</keyword>
  118. <keyword>DATA</keyword>
  119. <keyword>DATE</keyword>
  120. <keyword>DAY</keyword>
  121. <keyword>DEALLOCATE</keyword>
  122. <keyword>DEC</keyword>
  123. <keyword>DECIMAL</keyword>
  124. <keyword>DECLARE</keyword>
  125. <keyword>DEFAULT</keyword>
  126. <keyword>DEFERRABLE</keyword>
  127. <keyword>DEFERRED</keyword>
  128. <keyword>DELETE</keyword>
  129. <keyword>DEPTH</keyword>
  130. <keyword>DEREF</keyword>
  131. <keyword>DESC</keyword>
  132. <keyword>DESCRIBE</keyword>
  133. <keyword>DESCRIPTOR</keyword>
  134. <keyword>DETERMINISTIC</keyword>
  135. <keyword>DIAGNOSTICS</keyword>
  136. <keyword>DISCONNECT</keyword>
  137. <keyword>DISTINCT</keyword>
  138. <keyword>DO</keyword>
  139. <keyword>DOMAIN</keyword>
  140. <keyword>DOUBLE</keyword>
  141. <keyword>DROP</keyword>
  142. <keyword>DYNAMIC</keyword>
  143. <keyword>EACH</keyword>
  144. <keyword>ELSE</keyword>
  145. <keyword>ELSEIF</keyword>
  146. <keyword>END</keyword>
  147. <keyword>END-EXEC</keyword>
  148. <keyword>EQUALS</keyword>
  149. <keyword>ESCAPE</keyword>
  150. <keyword>EXCEPT</keyword>
  151. <keyword>EXCEPTION</keyword>
  152. <keyword>EXEC</keyword>
  153. <keyword>EXECUTE</keyword>
  154. <keyword>EXISTS</keyword>
  155. <keyword>EXIT</keyword>
  156. <keyword>EXTERNAL</keyword>
  157. <keyword>FALSE</keyword>
  158. <keyword>FETCH</keyword>
  159. <keyword>FIRST</keyword>
  160. <keyword>FLOAT</keyword>
  161. <keyword>FOR</keyword>
  162. <keyword>FOREIGN</keyword>
  163. <keyword>FOUND</keyword>
  164. <keyword>FROM</keyword>
  165. <keyword>FREE</keyword>
  166. <keyword>FULL</keyword>
  167. <keyword>FUNCTION</keyword>
  168. <keyword>GENERAL</keyword>
  169. <keyword>GET</keyword>
  170. <keyword>GLOBAL</keyword>
  171. <keyword>GO</keyword>
  172. <keyword>GOTO</keyword>
  173. <keyword>GRANT</keyword>
  174. <keyword>GROUP</keyword>
  175. <keyword>GROUPING</keyword>
  176. <keyword>HANDLE</keyword>
  177. <keyword>HAVING</keyword>
  178. <keyword>HOLD</keyword>
  179. <keyword>HOUR</keyword>
  180. <keyword>IDENTITY</keyword>
  181. <keyword>IF</keyword>
  182. <keyword>IMMEDIATE</keyword>
  183. <keyword>IN</keyword>
  184. <keyword>INDICATOR</keyword>
  185. <keyword>INITIALLY</keyword>
  186. <keyword>INNER</keyword>
  187. <keyword>INOUT</keyword>
  188. <keyword>INPUT</keyword>
  189. <keyword>INSERT</keyword>
  190. <keyword>INT</keyword>
  191. <keyword>INTEGER</keyword>
  192. <keyword>INTERSECT</keyword>
  193. <keyword>INTERVAL</keyword>
  194. <keyword>INTO</keyword>
  195. <keyword>IS</keyword>
  196. <keyword>ISOLATION</keyword>
  197. <keyword>JOIN</keyword>
  198. <keyword>KEY</keyword>
  199. <keyword>LANGUAGE</keyword>
  200. <keyword>LARGE</keyword>
  201. <keyword>LAST</keyword>
  202. <keyword>LATERAL</keyword>
  203. <keyword>LEADING</keyword>
  204. <keyword>LEAVE</keyword>
  205. <keyword>LEFT</keyword>
  206. <keyword>LEVEL</keyword>
  207. <keyword>LIKE</keyword>
  208. <keyword>LOCAL</keyword>
  209. <keyword>LOCALTIME</keyword>
  210. <keyword>LOCALTIMESTAMP</keyword>
  211. <keyword>LOCATOR</keyword>
  212. <keyword>LOOP</keyword>
  213. <keyword>MAP</keyword>
  214. <keyword>MATCH</keyword>
  215. <keyword>METHOD</keyword>
  216. <keyword>MINUTE</keyword>
  217. <keyword>MODIFIES</keyword>
  218. <keyword>MODULE</keyword>
  219. <keyword>MONTH</keyword>
  220. <keyword>NAMES</keyword>
  221. <keyword>NATIONAL</keyword>
  222. <keyword>NATURAL</keyword>
  223. <keyword>NCHAR</keyword>
  224. <keyword>NCLOB</keyword>
  225. <keyword>NESTING</keyword>
  226. <keyword>NEW</keyword>
  227. <keyword>NEXT</keyword>
  228. <keyword>NO</keyword>
  229. <keyword>NONE</keyword>
  230. <keyword>NOT</keyword>
  231. <keyword>NULL</keyword>
  232. <keyword>NUMERIC</keyword>
  233. <keyword>OBJECT</keyword>
  234. <keyword>OF</keyword>
  235. <keyword>OLD</keyword>
  236. <keyword>ON</keyword>
  237. <keyword>ONLY</keyword>
  238. <keyword>OPEN</keyword>
  239. <keyword>OPTION</keyword>
  240. <keyword>OR</keyword>
  241. <keyword>ORDER</keyword>
  242. <keyword>ORDINALITY</keyword>
  243. <keyword>OUT</keyword>
  244. <keyword>OUTER</keyword>
  245. <keyword>OUTPUT</keyword>
  246. <keyword>OVERLAPS</keyword>
  247. <keyword>PAD</keyword>
  248. <keyword>PARAMETER</keyword>
  249. <keyword>PARTIAL</keyword>
  250. <keyword>PATH</keyword>
  251. <keyword>PRECISION</keyword>
  252. <keyword>PREPARE</keyword>
  253. <keyword>PRESERVE</keyword>
  254. <keyword>PRIMARY</keyword>
  255. <keyword>PRIOR</keyword>
  256. <keyword>PRIVILEGES</keyword>
  257. <keyword>PROCEDURE</keyword>
  258. <keyword>PUBLIC</keyword>
  259. <keyword>READ</keyword>
  260. <keyword>READS</keyword>
  261. <keyword>REAL</keyword>
  262. <keyword>RECURSIVE</keyword>
  263. <keyword>REDO</keyword>
  264. <keyword>REF</keyword>
  265. <keyword>REFERENCES</keyword>
  266. <keyword>REFERENCING</keyword>
  267. <keyword>RELATIVE</keyword>
  268. <keyword>RELEASE</keyword>
  269. <keyword>REPEAT</keyword>
  270. <keyword>RESIGNAL</keyword>
  271. <keyword>RESTRICT</keyword>
  272. <keyword>RESULT</keyword>
  273. <keyword>RETURN</keyword>
  274. <keyword>RETURNS</keyword>
  275. <keyword>REVOKE</keyword>
  276. <keyword>RIGHT</keyword>
  277. <keyword>ROLE</keyword>
  278. <keyword>ROLLBACK</keyword>
  279. <keyword>ROLLUP</keyword>
  280. <keyword>ROUTINE</keyword>
  281. <keyword>ROW</keyword>
  282. <keyword>ROWS</keyword>
  283. <keyword>SAVEPOINT</keyword>
  284. <keyword>SCHEMA</keyword>
  285. <keyword>SCROLL</keyword>
  286. <keyword>SEARCH</keyword>
  287. <keyword>SECOND</keyword>
  288. <keyword>SECTION</keyword>
  289. <keyword>SELECT</keyword>
  290. <keyword>SESSION</keyword>
  291. <keyword>SESSION_USER</keyword>
  292. <keyword>SET</keyword>
  293. <keyword>SETS</keyword>
  294. <keyword>SIGNAL</keyword>
  295. <keyword>SIMILAR</keyword>
  296. <keyword>SIZE</keyword>
  297. <keyword>SMALLINT</keyword>
  298. <keyword>SOME</keyword>
  299. <keyword>SPACE</keyword>
  300. <keyword>SPECIFIC</keyword>
  301. <keyword>SPECIFICTYPE</keyword>
  302. <keyword>SQL</keyword>
  303. <keyword>SQLEXCEPTION</keyword>
  304. <keyword>SQLSTATE</keyword>
  305. <keyword>SQLWARNING</keyword>
  306. <keyword>START</keyword>
  307. <keyword>STATE</keyword>
  308. <keyword>STATIC</keyword>
  309. <keyword>SYSTEM_USER</keyword>
  310. <keyword>TABLE</keyword>
  311. <keyword>TEMPORARY</keyword>
  312. <keyword>THEN</keyword>
  313. <keyword>TIME</keyword>
  314. <keyword>TIMESTAMP</keyword>
  315. <keyword>TIMEZONE_HOUR</keyword>
  316. <keyword>TIMEZONE_MINUTE</keyword>
  317. <keyword>TO</keyword>
  318. <keyword>TRAILING</keyword>
  319. <keyword>TRANSACTION</keyword>
  320. <keyword>TRANSLATION</keyword>
  321. <keyword>TREAT</keyword>
  322. <keyword>TRIGGER</keyword>
  323. <keyword>TRUE</keyword>
  324. <keyword>UNDER</keyword>
  325. <keyword>UNDO</keyword>
  326. <keyword>UNION</keyword>
  327. <keyword>UNIQUE</keyword>
  328. <keyword>UNKNOWN</keyword>
  329. <keyword>UNNEST</keyword>
  330. <keyword>UNTIL</keyword>
  331. <keyword>UPDATE</keyword>
  332. <keyword>USAGE</keyword>
  333. <keyword>USER</keyword>
  334. <keyword>USING</keyword>
  335. <keyword>VALUE</keyword>
  336. <keyword>VALUES</keyword>
  337. <keyword>VARCHAR</keyword>
  338. <keyword>VARYING</keyword>
  339. <keyword>VIEW</keyword>
  340. <keyword>WHEN</keyword>
  341. <keyword>WHENEVER</keyword>
  342. <keyword>WHERE</keyword>
  343. <keyword>WHILE</keyword>
  344. <keyword>WITH</keyword>
  345. <keyword>WITHOUT</keyword>
  346. <keyword>WORK</keyword>
  347. <keyword>WRITE</keyword>
  348. <keyword>YEAR</keyword>
  349. <keyword>ZONE</keyword>
  350. <!-- non reserved -->
  351. <keyword>ABS</keyword>
  352. <keyword>ADA</keyword>
  353. <keyword>ADMIN</keyword>
  354. <keyword>ASENSITIVE</keyword>
  355. <keyword>ASSIGNMENT</keyword>
  356. <keyword>ASYMMETRIC</keyword>
  357. <keyword>ATOMIC</keyword>
  358. <keyword>ATTRIBUTE</keyword>
  359. <keyword>AVG</keyword>
  360. <keyword>BIT_LENGTH</keyword>
  361. <keyword>C</keyword>
  362. <keyword>CALLED</keyword>
  363. <keyword>CARDINALITY</keyword>
  364. <keyword>CATALOG_NAME</keyword>
  365. <keyword>CHAIN</keyword>
  366. <keyword>CHAR_LENGTH</keyword>
  367. <keyword>CHARACTERISTICS</keyword>
  368. <keyword>CHARACTER_LENGTH</keyword>
  369. <keyword>CHARACTER_SET_CATALOG</keyword>
  370. <keyword>CHARACTER_SET_NAME</keyword>
  371. <keyword>CHARACTER_SET_SCHEMA</keyword>
  372. <keyword>CHECKED</keyword>
  373. <keyword>CLASS_ORIGIN</keyword>
  374. <keyword>COALESCE</keyword>
  375. <keyword>COBOL</keyword>
  376. <keyword>COLLATION_CATALOG</keyword>
  377. <keyword>COLLATION_NAME</keyword>
  378. <keyword>COLLATION_SCHEMA</keyword>
  379. <keyword>COLUMN_NAME</keyword>
  380. <keyword>COMMAND_FUNCTION</keyword>
  381. <keyword>COMMAND_FUNCTION_CODE</keyword>
  382. <keyword>COMMITTED</keyword>
  383. <keyword>CONDITION_IDENTIFIER</keyword>
  384. <keyword>CONDITION_NUMBER</keyword>
  385. <keyword>CONNECTION_NAME</keyword>
  386. <keyword>CONSTRAINT_CATALOG</keyword>
  387. <keyword>CONSTRAINT_NAME</keyword>
  388. <keyword>CONSTRAINT_SCHEMA</keyword>
  389. <keyword>CONTAINS</keyword>
  390. <keyword>CONVERT</keyword>
  391. <keyword>COUNT</keyword>
  392. <keyword>CURSOR_NAME</keyword>
  393. <keyword>DATETIME_INTERVAL_CODE</keyword>
  394. <keyword>DATETIME_INTERVAL_PRECISION</keyword>
  395. <keyword>DEFINED</keyword>
  396. <keyword>DEFINER</keyword>
  397. <keyword>DEGREE</keyword>
  398. <keyword>DERIVED</keyword>
  399. <keyword>DISPATCH</keyword>
  400. <keyword>EVERY</keyword>
  401. <keyword>EXTRACT</keyword>
  402. <keyword>FINAL</keyword>
  403. <keyword>FORTRAN</keyword>
  404. <keyword>G</keyword>
  405. <keyword>GENERATED</keyword>
  406. <keyword>GRANTED</keyword>
  407. <keyword>HIERARCHY</keyword>
  408. <keyword>IMPLEMENTATION</keyword>
  409. <keyword>INSENSITIVE</keyword>
  410. <keyword>INSTANCE</keyword>
  411. <keyword>INSTANTIABLE</keyword>
  412. <keyword>INVOKER</keyword>
  413. <keyword>K</keyword>
  414. <keyword>KEY_MEMBER</keyword>
  415. <keyword>KEY_TYPE</keyword>
  416. <keyword>LENGTH</keyword>
  417. <keyword>LOWER</keyword>
  418. <keyword>M</keyword>
  419. <keyword>MAX</keyword>
  420. <keyword>MIN</keyword>
  421. <keyword>MESSAGE_LENGTH</keyword>
  422. <keyword>MESSAGE_OCTET_LENGTH</keyword>
  423. <keyword>MESSAGE_TEXT</keyword>
  424. <keyword>MOD</keyword>
  425. <keyword>MORE</keyword>
  426. <keyword>MUMPS</keyword>
  427. <keyword>NAME</keyword>
  428. <keyword>NULLABLE</keyword>
  429. <keyword>NUMBER</keyword>
  430. <keyword>NULLIF</keyword>
  431. <keyword>OCTET_LENGTH</keyword>
  432. <keyword>ORDERING</keyword>
  433. <keyword>OPTIONS</keyword>
  434. <keyword>OVERLAY</keyword>
  435. <keyword>OVERRIDING</keyword>
  436. <keyword>PASCAL</keyword>
  437. <keyword>PARAMETER_MODE</keyword>
  438. <keyword>PARAMETER_NAME</keyword>
  439. <keyword>PARAMETER_ORDINAL_POSITION</keyword>
  440. <keyword>PARAMETER_SPECIFIC_CATALOG</keyword>
  441. <keyword>PARAMETER_SPECIFIC_NAME</keyword>
  442. <keyword>PARAMETER_SPECIFIC_SCHEMA</keyword>
  443. <keyword>PLI</keyword>
  444. <keyword>POSITION</keyword>
  445. <keyword>REPEATABLE</keyword>
  446. <keyword>RETURNED_CARDINALITY</keyword>
  447. <keyword>RETURNED_LENGTH</keyword>
  448. <keyword>RETURNED_OCTET_LENGTH</keyword>
  449. <keyword>RETURNED_SQLSTATE</keyword>
  450. <keyword>ROUTINE_CATALOG</keyword>
  451. <keyword>ROUTINE_NAME</keyword>
  452. <keyword>ROUTINE_SCHEMA</keyword>
  453. <keyword>ROW_COUNT</keyword>
  454. <keyword>SCALE</keyword>
  455. <keyword>SCHEMA_NAME</keyword>
  456. <keyword>SCOPE</keyword>
  457. <keyword>SECURITY</keyword>
  458. <keyword>SELF</keyword>
  459. <keyword>SENSITIVE</keyword>
  460. <keyword>SERIALIZABLE</keyword>
  461. <keyword>SERVER_NAME</keyword>
  462. <keyword>SIMPLE</keyword>
  463. <keyword>SOURCE</keyword>
  464. <keyword>SPECIFIC_NAME</keyword>
  465. <keyword>STATEMENT</keyword>
  466. <keyword>STRUCTURE</keyword>
  467. <keyword>STYLE</keyword>
  468. <keyword>SUBCLASS_ORIGIN</keyword>
  469. <keyword>SUBSTRING</keyword>
  470. <keyword>SUM</keyword>
  471. <keyword>SYMMETRIC</keyword>
  472. <keyword>SYSTEM</keyword>
  473. <keyword>TABLE_NAME</keyword>
  474. <keyword>TOP_LEVEL_COUNT</keyword>
  475. <keyword>TRANSACTIONS_COMMITTED</keyword>
  476. <keyword>TRANSACTIONS_ROLLED_BACK</keyword>
  477. <keyword>TRANSACTION_ACTIVE</keyword>
  478. <keyword>TRANSFORM</keyword>
  479. <keyword>TRANSFORMS</keyword>
  480. <keyword>TRANSLATE</keyword>
  481. <keyword>TRIGGER_CATALOG</keyword>
  482. <keyword>TRIGGER_SCHEMA</keyword>
  483. <keyword>TRIGGER_NAME</keyword>
  484. <keyword>TRIM</keyword>
  485. <keyword>TYPE</keyword>
  486. <keyword>UNCOMMITTED</keyword>
  487. <keyword>UNNAMED</keyword>
  488. <keyword>UPPER</keyword>
  489. </highlighter>
  490. </highlighters>