PageRenderTime 59ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/projects/hsqldb-2.0.0/hsqldb/src/org/hsqldb/resources/information-schema.sql

https://gitlab.com/essere.lab.public/qualitas.class-corpus
SQL | 544 lines | 535 code | 2 blank | 7 comment | 0 complexity | 8a064955b7644b9be8261d209e86f6b3 MD5 | raw file
  1. -- author Fred Toussi (fredt@users dot sourceforge.net) version 1.9.0
  2. /*system_procedures*/
  3. SELECT ROUTINE_CATALOG AS PROCEDURE_CAT, ROUTINE_SCHEMA AS PROCEDURE_SCHEM,
  4. ROUTINE_NAME AS PROCEDURE_NAME, 0, 0, 0,
  5. CAST( NULL AS VARCHAR(256)) AS REMARKS,
  6. CASE WHEN ROUTINE_TYPE = 'PROCEDURE' THEN 1 ELSE 2 END CASE AS PROCEDURE_TYPE,
  7. SPECIFIC_NAME FROM INFORMATION_SCHEMA.ROUTINES
  8. /*data_type_privileges*/
  9. SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME,
  10. 'TABLE', DTD_IDENTIFIER
  11. FROM COLUMNS
  12. UNION
  13. SELECT DOMAIN_CATALOG, DOMAIN_SCHEMA, DOMAIN_NAME,
  14. 'DOMAIN', DTD_IDENTIFIER
  15. FROM DOMAINS
  16. UNION
  17. SELECT SPECIFIC_CATALOG, SPECIFIC_SCHEMA, SPECIFIC_NAME,
  18. 'ROUTINE', DTD_IDENTIFIER
  19. FROM PARAMETERS
  20. UNION
  21. SELECT SPECIFIC_CATALOG, SPECIFIC_SCHEMA, SPECIFIC_NAME,
  22. 'ROUTINE', DTD_IDENTIFIER
  23. FROM ROUTINES
  24. WHERE DTD_IDENTIFIER IS NOT NULL
  25. UNION
  26. SELECT USER_DEFINED_TYPE_CATALOG, USER_DEFINED_TYPE_SCHEMA,
  27. USER_DEFINED_TYPE_NAME, 'USER-DEFINED TYPE', SOURCE_DTD_IDENTIFIER
  28. FROM USER_DEFINED_TYPES
  29. WHERE SOURCE_DTD_IDENTIFIER IS NOT NULL
  30. UNION
  31. SELECT USER_DEFINED_TYPE_CATALOG, USER_DEFINED_TYPE_SCHEMA,
  32. USER_DEFINED_TYPE_NAME, 'USER-DEFINED TYPE', REF_DTD_IDENTIFIER
  33. FROM USER_DEFINED_TYPES
  34. WHERE REF_DTD_IDENTIFIER IS NOT NULL;
  35. /*sql_features*/
  36. VALUES
  37. ('B011', 'Embedded Ada', '', '', 'NO', CAST(NULL AS CHARACTER), ''),
  38. ('B012', 'Embedded C', '', '', 'NO', NULL, ''),
  39. ('B013', 'Embedded COBOL', '', '', 'NO', NULL, ''),
  40. ('B014', 'Embedded Fortran', '', '', 'NO', NULL, ''),
  41. ('B015', 'Embedded MUMPS', '', '', 'NO', NULL, ''),
  42. ('B016', 'Embedded Pascal', '', '', 'NO', NULL, ''),
  43. ('B017', 'Embedded PL/I', '', '', 'NO', NULL, ''),
  44. ('B021', 'Direct SQL', '', '', 'YES', NULL, ''),
  45. ('B031', 'Basic dynamic SQL', '', '', 'NO', NULL, ''),
  46. ('B032', 'Extended dynamic SQL', '', '', 'NO', NULL, ''),
  47. ('B032', 'Extended dynamic SQL', '01', 'describe input statement', 'NO', NULL, ''),
  48. ('B033', 'Untyped SQL-invoked function arguments', '', '', 'NO', NULL, ''),
  49. ('B034', 'Dynamic specification of cursor attributes', '', '', 'NO', NULL, ''),
  50. ('B041', 'Extensions to embedded SQL exception declarations', '', '', 'NO', NULL, ''),
  51. ('B051', 'Enhanced execution rights', '', '', 'NO', NULL, ''),
  52. ('B111', 'Module language Ada', '', '', 'NO', NULL, ''),
  53. ('B112', 'Module language C', '', '', 'NO', NULL, ''),
  54. ('B113', 'Module language COBOL', '', '', 'NO', NULL, ''),
  55. ('B114', 'Module language Fortran', '', '', 'NO', NULL, ''),
  56. ('B115', 'Module language MUMPS', '', '', 'NO', NULL, ''),
  57. ('B116', 'Module language Pascal', '', '', 'NO', NULL, ''),
  58. ('B117', 'Module language PL/I', '', '', 'NO', NULL, ''),
  59. ('B121', 'Routine language Ada', '', '', 'NO', NULL, ''),
  60. ('B122', 'Routine language C', '', '', 'NO', NULL, ''),
  61. ('B123', 'Routine language COBOL', '', '', 'NO', NULL, ''),
  62. ('B124', 'Routine language Fortran', '', '', 'NO', NULL, ''),
  63. ('B125', 'Routine language MUMPS', '', '', 'NO', NULL, ''),
  64. ('B126', 'Routine language Pascal', '', '', 'NO', NULL, ''),
  65. ('B127', 'Routine language PL/I', '', '', 'NO', NULL, ''),
  66. ('B128', 'Routine language SQL', '', '', 'YES', NULL, 'only schema-contained routines'),
  67. ('C011', 'Call-Level Interface', '', '', 'YES', NULL, 'via JDBC'),
  68. ('E011', 'Numeric data types', '', '', 'YES', NULL, ''),
  69. ('E011', 'Numeric data types', '01', 'INTEGER and SMALLINT data types', 'YES', NULL, ''),
  70. ('E011', 'Numeric data types', '02', 'REAL, DOUBLE PRECISION, and FLOAT data types', 'YES', NULL, ''),
  71. ('E011', 'Numeric data types', '03', 'DECIMAL and NUMERIC data types', 'YES', NULL, ''),
  72. ('E011', 'Numeric data types', '04', 'Arithmetic operators', 'YES', NULL, ''),
  73. ('E011', 'Numeric data types', '05', 'Numeric comparison', 'YES', NULL, ''),
  74. ('E011', 'Numeric data types', '06', 'Implicit casting among the numeric data types', 'YES', NULL, ''),
  75. ('E021', 'Character data types', '', '', 'YES', NULL, ''),
  76. ('E021', 'Character string types', '01', 'CHARACTER data type', 'YES', NULL, ''),
  77. ('E021', 'Character string types', '02', 'CHARACTER VARYING data type', 'YES', NULL, ''),
  78. ('E021', 'Character string types', '03', 'Character literals', 'YES', NULL, ''),
  79. ('E021', 'Character string types', '04', 'CHARACTER_LENGTH function', 'YES', NULL, ''),
  80. ('E021', 'Character string types', '05', 'OCTET_LENGTH function', 'YES', NULL, ''),
  81. ('E021', 'Character string types', '06', 'SUBSTRING function', 'YES', NULL, ''),
  82. ('E021', 'Character string types', '07', 'Character concatenation', 'YES', NULL, ''),
  83. ('E021', 'Character string types', '08', 'UPPER and LOWER functions', 'YES', NULL, ''),
  84. ('E021', 'Character string types', '09', 'TRIM function', 'YES', NULL, ''),
  85. ('E021', 'Character string types', '10', 'Implicit casting among the character string types', 'YES', NULL, ''),
  86. ('E021', 'Character string types', '11', 'POSITION function', 'YES', NULL, ''),
  87. ('E021', 'Character string types', '12', 'Character comparison', 'YES', NULL, ''),
  88. ('E031', 'Identifiers', '', '', 'YES', NULL, ''),
  89. ('E031', 'Identifiers', '01', 'Delimited identifiers', 'YES', NULL, ''),
  90. ('E031', 'Identifiers', '02', 'Lower case identifiers', 'YES', NULL, ''),
  91. ('E031', 'Identifiers', '03', 'Trailing underscore', 'YES', NULL, ''),
  92. ('E051', 'Basic query specification', '', '', 'YES', NULL, ''),
  93. ('E051', 'Basic query specification', '01', 'SELECT DISTINCT', 'YES', NULL, ''),
  94. ('E051', 'Basic query specification', '02', 'GROUP BY clause', 'YES', NULL, ''),
  95. ('E051', 'Basic query specification', '04', 'GROUP BY can contain columns not in <select list>', 'YES', NULL, ''),
  96. ('E051', 'Basic query specification', '05', 'Select list items can be renamed', 'YES', NULL, ''),
  97. ('E051', 'Basic query specification', '06', 'HAVING clause', 'YES', NULL, ''),
  98. ('E051', 'Basic query specification', '07', 'Qualified * in select list', 'YES', NULL, ''),
  99. ('E051', 'Basic query specification', '08', 'Correlation names in the FROM clause', 'YES', NULL, ''),
  100. ('E051', 'Basic query specification', '09', 'Rename columns in the FROM clause', 'YES', NULL, ''),
  101. ('E061', 'Basic predicates and search conditions', '', '', 'YES', NULL, ''),
  102. ('E061', 'Basic predicates and search conditions', '01', 'Comparison predicate', 'YES', NULL, ''),
  103. ('E061', 'Basic predicates and search conditions', '02', 'BETWEEN predicate', 'YES', NULL, ''),
  104. ('E061', 'Basic predicates and search conditions', '03', 'IN predicate with list of values', 'YES', NULL, ''),
  105. ('E061', 'Basic predicates and search conditions', '04', 'LIKE predicate', 'YES', NULL, ''),
  106. ('E061', 'Basic predicates and search conditions', '05', 'LIKE predicate ESCAPE clause', 'YES', NULL, ''),
  107. ('E061', 'Basic predicates and search conditions', '06', 'NULL predicate', 'YES', NULL, ''),
  108. ('E061', 'Basic predicates and search conditions', '07', 'Quantified comparison predicate', 'YES', NULL, ''),
  109. ('E061', 'Basic predicates and search conditions', '08', 'EXISTS predicate', 'YES', NULL, ''),
  110. ('E061', 'Basic predicates and search conditions', '09', 'Subqueries in comparison predicate', 'YES', NULL, ''),
  111. ('E061', 'Basic predicates and search conditions', '11', 'Subqueries in IN predicate', 'YES', NULL, ''),
  112. ('E061', 'Basic predicates and search conditions', '12', 'Subqueries in quantified comparison predicate', 'YES', NULL, ''),
  113. ('E061', 'Basic predicates and search conditions', '13', 'Correlated subqueries', 'YES', NULL, ''),
  114. ('E061', 'Basic predicates and search conditions', '14', 'Search condition', 'YES', NULL, ''),
  115. ('E071', 'Basic query expressions', '', '', 'YES', NULL, ''),
  116. ('E071', 'Basic query expressions', '01', 'UNION DISTINCT table operator', 'YES', NULL, ''),
  117. ('E071', 'Basic query expressions', '02', 'UNION ALL table operator', 'YES', NULL, ''),
  118. ('E071', 'Basic query expressions', '03', 'EXCEPT DISTINCT table operator', 'YES', NULL, ''),
  119. ('E071', 'Basic query expressions', '05', 'Columns combined via table operators need not have exactly the same data type', 'YES', NULL, ''),
  120. ('E071', 'Basic query expressions', '06', 'Table operators in subqueries', 'YES', NULL, ''),
  121. ('E081', 'Basic Privileges', '', '', 'YES', NULL, ''),
  122. ('E081', 'Basic Privileges', '01', 'SELECT privilege', 'YES', NULL, ''),
  123. ('E081', 'Basic Privileges', '02', 'DELETE privilege', 'YES', NULL, ''),
  124. ('E081', 'Basic Privileges', '03', 'INSERT privilege at the table level', 'YES', NULL, ''),
  125. ('E081', 'Basic Privileges', '04', 'UPDATE privilege at the table level', 'YES', NULL, ''),
  126. ('E081', 'Basic Privileges', '05', 'UPDATE privilege at the column level', 'YES', NULL, ''),
  127. ('E081', 'Basic Privileges', '06', 'REFERENCES privilege at the table level', 'YES', NULL, ''),
  128. ('E081', 'Basic Privileges', '07', 'REFERENCES privilege at the column level', 'YES', NULL, ''),
  129. ('E081', 'Basic Privileges', '08', 'WITH GRANT OPTION', 'YES', NULL, ''),
  130. ('E081', 'Basic Privileges', '09', 'USAGE privilege', 'YES', NULL, ''),
  131. ('E081', 'Basic Privileges', '10', 'EXECUTE privilege', 'YES', NULL, ''),
  132. ('E091', 'Set functions', '', '', 'YES', NULL, ''),
  133. ('E091', 'Set functions', '01', 'AVG', 'YES', NULL, ''),
  134. ('E091', 'Set functions', '02', 'COUNT', 'YES', NULL, ''),
  135. ('E091', 'Set functions', '03', 'MAX', 'YES', NULL, ''),
  136. ('E091', 'Set functions', '04', 'MIN', 'YES', NULL, ''),
  137. ('E091', 'Set functions', '05', 'SUM', 'YES', NULL, ''),
  138. ('E091', 'Set functions', '06', 'ALL quantifier', 'YES', NULL, ''),
  139. ('E091', 'Set functions', '07', 'DISTINCT quantifier', 'YES', NULL, ''),
  140. ('E101', 'Basic data manipulation', '', '', 'YES', NULL, ''),
  141. ('E101', 'Basic data manipulation', '01', 'INSERT statement', 'YES', NULL, ''),
  142. ('E101', 'Basic data manipulation', '03', 'Searched UPDATE statement', 'YES', NULL, ''),
  143. ('E101', 'Basic data manipulation', '04', 'Searched DELETE statement', 'YES', NULL, ''),
  144. ('E111', 'Single row SELECT statement', '', '', 'YES', NULL, ''),
  145. ('E121', 'Basic cursor support', '', '', 'NO', NULL, 'yes via JDBC'),
  146. ('E121', 'Basic cursor support', '01', 'DECLARE CURSOR', 'NO', NULL, 'yes via JDBC'),
  147. ('E121', 'Basic cursor support', '02', 'ORDER BY columns need not be in select list', 'YES', NULL, ''),
  148. ('E121', 'Basic cursor support', '03', 'Value expressions in ORDER BY clause', 'YES', NULL, ''),
  149. ('E121', 'Basic cursor support', '04', 'OPEN statement', 'NO', NULL, 'yes via JDBC'),
  150. ('E121', 'Basic cursor support', '06', 'Positioned UPDATE statement', 'NO', NULL, 'yes via JDBC'),
  151. ('E121', 'Basic cursor support', '07', 'Positioned DELETE statement', 'NO', NULL, 'yes via JDBC'),
  152. ('E121', 'Basic cursor support', '08', 'CLOSE statement', 'NO', NULL, 'yes via JDBC'),
  153. ('E121', 'Basic cursor support', '10', 'FETCH statement implicit NEXT', 'NO', NULL, 'yes via JDBC'),
  154. ('E121', 'Basic cursor support', '17', 'WITH HOLD cursors', 'NO', NULL, 'yes via JDBC'),
  155. ('E131', 'Null value support (nulls in lieu of values)', '', '', 'YES', NULL, ''),
  156. ('E141', 'Basic integrity constraints', '', '', 'YES', NULL, ''),
  157. ('E141', 'Basic integrity constraints', '01', 'NOT NULL constraints', 'YES', NULL, ''),
  158. ('E141', 'Basic integrity constraints', '02', 'UNIQUE constraints of NOT NULL columns', 'YES', NULL, ''),
  159. ('E141', 'Basic integrity constraints', '03', 'PRIMARY KEY constraints', 'YES', NULL, ''),
  160. ('E141', 'Basic integrity constraints', '04', 'Basic FOREIGN KEY constraint with the NO ACTION default for both referential delete action and referential update action', 'YES', NULL, ''),
  161. ('E141', 'Basic integrity constraints', '06', 'CHECK constraints', 'YES', NULL, ''),
  162. ('E141', 'Basic integrity constraints', '07', 'Column defaults', 'YES', NULL, ''),
  163. ('E141', 'Basic integrity constraints', '08', 'NOT NULL inferred on PRIMARY KEY', 'YES', NULL, ''),
  164. ('E141', 'Basic integrity constraints', '10', 'Names in a foreign key can be specified in any order', 'YES', NULL, ''),
  165. ('E151', 'Transaction support', '', '', 'YES', NULL, ''),
  166. ('E151', 'Transaction support', '01', 'COMMIT statement', 'YES', NULL, ''),
  167. ('E151', 'Transaction support', '02', 'ROLLBACK statement', 'YES', NULL, ''),
  168. ('E152', 'Basic SET TRANSACTION statement', '', '', 'YES', NULL, ''),
  169. ('E152', 'Basic SET TRANSACTION statement', '01', 'SET TRANSACTION statement: ISOLATION LEVEL SERIALIZABLE clause', 'YES', NULL, ''),
  170. ('E152', 'Basic SET TRANSACTION statement', '02', 'SET TRANSACTION statement: READ ONLY and READ WRITE clauses', 'YES', NULL, ''),
  171. ('E153', 'Updatable queries with subqueries', '', '', 'YES', NULL, ''),
  172. ('E161', 'SQL comments using leading double minus', '', '', 'YES', NULL, ''),
  173. ('E171', 'SQLSTATE support', '', '', 'YES', NULL, ''),
  174. ('E182', 'Module language', '', '', 'YES', NULL, 'only schema contained routines'),
  175. ('F021', 'Basic information schema', '', '', 'YES', NULL, ''),
  176. ('F021', 'Basic information schema', '01', 'COLUMNS view', 'YES', NULL, ''),
  177. ('F021', 'Basic information schema', '02', 'TABLES view', 'YES', NULL, ''),
  178. ('T655', 'Cyclically dependent routines', '', '', 'NO', NULL, ''),
  179. ('F021', 'Basic information schema', '03', 'VIEWS view', 'YES', NULL, ''),
  180. ('F021', 'Basic information schema', '04', 'TABLE_CONSTRAINTS view', 'YES', NULL, ''),
  181. ('F021', 'Basic information schema', '05', 'REFERENTIAL_CONSTRAINTS view', 'YES', NULL, ''),
  182. ('F021', 'Basic information schema', '06', 'CHECK_CONSTRAINTS view', 'YES', NULL, ''),
  183. ('F031', 'Basic schema manipulation', '', '', 'YES', NULL, ''),
  184. ('F031', 'Basic schema manipulation', '01', 'CREATE TABLE statement to create persistent base tables', 'YES', NULL, ''),
  185. ('F031', 'Basic schema manipulation', '02', 'CREATE VIEW statement', 'YES', NULL, ''),
  186. ('F031', 'Basic schema manipulation', '03', 'GRANT statement', 'YES', NULL, ''),
  187. ('F031', 'Basic schema manipulation', '04', 'ALTER TABLE statement: ADD COLUMN clause', 'YES', NULL, ''),
  188. ('F031', 'Basic schema manipulation', '13', 'DROP TABLE statement: RESTRICT clause', 'YES', NULL, ''),
  189. ('F031', 'Basic schema manipulation', '16', 'DROP VIEW statement: RESTRICT clause', 'YES', NULL, ''),
  190. ('F031', 'Basic schema manipulation', '19', 'REVOKE statement: RESTRICT clause', 'YES', NULL, ''),
  191. ('F032', 'CASCADE drop behavior', '', '', 'YES', NULL, ''),
  192. ('F033', 'ALTER TABLE statement: DROP COLUMN clause', '', '', 'YES', NULL, ''),
  193. ('F034', 'Extended REVOKE statement', '', '', 'YES', NULL, ''),
  194. ('F034', 'Extended REVOKE statement', '01', 'REVOKE statement performed by other than the owner of a schema object', 'YES', NULL, ''),
  195. ('F034', 'Extended REVOKE statement', '02', 'REVOKE statement: GRANT OPTION FOR clause', 'YES', NULL, ''),
  196. ('F034', 'Extended REVOKE statement', '03', 'REVOKE statement to revoke a privilege that the grantee has WITH GRANT OPTION', 'YES', NULL, ''),
  197. ('F041', 'Basic joined table', '', '', 'YES', NULL, ''),
  198. ('F041', 'Basic joined table', '01', 'Inner join (but not necessarily the INNER keyword)', 'YES', NULL, ''),
  199. ('F041', 'Basic joined table', '02', 'INNER keyword', 'YES', NULL, ''),
  200. ('F041', 'Basic joined table', '03', 'LEFT OUTER JOIN', 'YES', NULL, ''),
  201. ('F041', 'Basic joined table', '04', 'RIGHT OUTER JOIN', 'YES', NULL, ''),
  202. ('F041', 'Basic joined table', '05', 'Outer joins can be nested', 'YES', NULL, ''),
  203. ('F041', 'Basic joined table', '07', 'The inner table in a left or right outer join can also be used in an inner join', 'YES', NULL, ''),
  204. ('F041', 'Basic joined table', '08', 'All comparison operators are supported (rather than just =)', 'YES', NULL, ''),
  205. ('F051', 'Basic date and time', '', '', 'YES', NULL, ''),
  206. ('F051', 'Basic date and time', '01', 'DATE data type (including support of DATE literal)', 'YES', NULL, ''),
  207. ('F051', 'Basic date and time', '02', 'TIME data type (including support of TIME literal) with fractional seconds precision of at least 0', 'YES', NULL, ''),
  208. ('F051', 'Basic date and time', '03', 'TIMESTAMP data type (including support of TIMESTAMP literal) with fractional seconds precision of at least 0 and 6', 'YES', NULL, ''),
  209. ('F051', 'Basic date and time', '04', 'Comparison predicate on DATE, TIME, and TIMESTAMP data types', 'YES', NULL, ''),
  210. ('F051', 'Basic date and time', '05', 'Explicit CAST between datetime types and character string types', 'YES', NULL, ''),
  211. ('F051', 'Basic date and time', '06', 'CURRENT_DATE', 'YES', NULL, ''),
  212. ('F051', 'Basic date and time', '07', 'LOCALTIME', 'YES', NULL, ''),
  213. ('F051', 'Basic date and time', '08', 'LOCALTIMESTAMP', 'YES', NULL, ''),
  214. ('F052', 'Intervals and datetime arithmetic', '', '', 'YES', NULL, ''),
  215. ('F053', 'OVERLAPS predicate', '', '', 'YES', NULL, ''),
  216. ('F081', 'UNION and EXCEPT in views', '', '', 'YES', NULL, ''),
  217. ('F111', 'Isolation levels other than SERIALIZABLE', '', '', 'YES', NULL, ''),
  218. ('F111', 'Isolation levels other than SERIALIZABLE', '01', 'READ UNCOMMITTED isolation level', 'YES', NULL, ''),
  219. ('F111', 'Isolation levels other than SERIALIZABLE', '02', 'READ COMMITTED isolation level', 'YES', NULL, ''),
  220. ('F111', 'Isolation levels other than SERIALIZABLE', '03', 'REPEATABLE READ isolation level', 'YES', NULL, ''),
  221. ('F121', 'Basic diagnostics management', '', '', 'NO', NULL, ''),
  222. ('F121', 'Basic diagnostics management', '01', 'GET DIAGNOSTICS statement', 'NO', NULL, ''),
  223. ('F121', 'Basic diagnostics management', '02', 'SET TRANSACTION statement: DIAGNOSTICS SIZE clause', 'NO', NULL, ''),
  224. ('F131', 'Grouped operations', '', '', 'YES', NULL, ''),
  225. ('F131', 'Grouped operations', '01', 'WHERE, GROUP BY, and HAVING clauses supported in queries with grouped views', 'YES', NULL, ''),
  226. ('F131', 'Grouped operations', '02', 'Multiple tables supported in queries with grouped views', 'YES', NULL, ''),
  227. ('F131', 'Grouped operations', '03', 'Set functions supported in queries with grouped views', 'YES', NULL, ''),
  228. ('F131', 'Grouped operations', '04', 'Subqueries with GROUP BY and HAVING clauses and grouped views', 'YES', NULL, ''),
  229. ('F131', 'Grouped operations', '05', 'Single row SELECT with GROUP BY and HAVING clauses and grouped views', 'YES', NULL, ''),
  230. ('F171', 'Multiple schemas per user', '', '', 'YES', NULL, ''),
  231. ('F181', 'Multiple module support', '', '', 'NO', NULL, ''),
  232. ('F191', 'Referential delete actions', '', '', 'YES', NULL, ''),
  233. ('F201', 'CAST function', '', '', 'YES', NULL, ''),
  234. ('F221', 'Explicit defaults', '', '', 'YES', NULL, ''),
  235. ('F222', 'INSERT statement: DEFAULT VALUES clause', '', '', 'YES', NULL, ''),
  236. ('F231', 'Privilege tables', '', '', 'YES', NULL, ''),
  237. ('F231', 'Privilege tables', '01', 'TABLE_PRIVILEGES view', 'YES', NULL, ''),
  238. ('F231', 'Privilege tables', '02', 'COLUMN_PRIVILEGES view', 'YES', NULL, ''),
  239. ('F231', 'Privilege tables', '03', 'USAGE_PRIVILEGES view', 'YES', NULL, ''),
  240. ('F251', 'Domain support', '', '', 'YES', NULL, ''),
  241. ('F261', 'CASE expression', '', '', 'YES', NULL, ''),
  242. ('F261', 'CASE expression', '01', 'Simple CASE', 'YES', NULL, ''),
  243. ('F261', 'CASE expression', '02', 'Searched CASE', 'YES', NULL, ''),
  244. ('F261', 'CASE expression', '03', 'NULLIF', 'YES', NULL, ''),
  245. ('F261', 'CASE expression', '04', 'COALESCE', 'YES', NULL, ''),
  246. ('F262', 'Extended CASE expression', '', '', 'YES', NULL, ''),
  247. ('F263', 'Comma-separated predicates in simple CASE expression', '', '', 'YES', NULL, ''),
  248. ('F271', 'Compound character literals', '', '', 'YES', NULL, ''),
  249. ('F281', 'LIKE enhancements', '', '', 'YES', NULL, ''),
  250. ('F291', 'UNIQUE predicate', '', '', 'YES', NULL, ''),
  251. ('F301', 'CORRESPONDING in query expressions', '', '', 'YES', NULL, ''),
  252. ('F302', 'INTERSECT table operator', '', '', 'YES', NULL, ''),
  253. ('F302', 'INTERSECT table operator', '01', 'INTERSECT DISTINCT table operator', 'YES', NULL, ''),
  254. ('F302', 'INTERSECT table operator', '02', 'INTERSECT ALL table operator', 'YES', NULL, ''),
  255. ('F304', 'EXCEPT ALL table operator', '', '', 'YES', NULL, ''),
  256. ('F311', 'Schema definition statement', '', '', 'YES', NULL, ''),
  257. ('F311', 'Schema definition statement', '01', 'CREATE SCHEMA', 'YES', NULL, ''),
  258. ('F311', 'Schema definition statement', '02', 'CREATE TABLE for persistent base tables', 'YES', NULL, ''),
  259. ('F311', 'Schema definition statement', '03', 'CREATE VIEW', 'YES', NULL, ''),
  260. ('F311', 'Schema definition statement', '04', 'CREATE VIEW: WITH CHECK OPTION', 'YES', NULL, ''),
  261. ('F311', 'Schema definition statement', '05', 'GRANT statement', 'YES', NULL, ''),
  262. ('F312', 'MERGE statement', '', '', 'YES', NULL, ''),
  263. ('F321', 'User authorization', '', '', 'YES', NULL, ''),
  264. ('F341', 'Usage tables', '', '', 'YES', NULL, ''),
  265. ('F361', 'Subprogram support', '', '', 'YES', NULL, ''),
  266. ('F381', 'Extended schema manipulation', '', '', 'YES', NULL, ''),
  267. ('F381', 'Extended schema manipulation', '01', 'ALTER TABLE statement: ALTER COLUMN clause', 'YES', NULL, ''),
  268. ('F381', 'Extended schema manipulation', '02', 'ALTER TABLE statement: ADD CONSTRAINT clause', 'YES', NULL, ''),
  269. ('F381', 'Extended schema manipulation', '03', 'ALTER TABLE statement: DROP CONSTRAINT clause', 'YES', NULL, ''),
  270. ('F391', 'Long identifiers', '', '', 'YES', NULL, ''),
  271. ('F392', 'Unicode escapes in identifiers', '', '', 'YES', NULL, ''),
  272. ('F393', 'Unicode escapes in literals', '', '', 'YES', NULL, ''),
  273. ('F401', 'Extended joined table', '', '', 'YES', NULL, ''),
  274. ('F401', 'Extended joined table', '01', 'NATURAL JOIN', 'YES', NULL, ''),
  275. ('F401', 'Extended joined table', '02', 'FULL OUTER JOIN', 'YES', NULL, ''),
  276. ('F401', 'Extended joined table', '04', 'CROSS JOIN', 'YES', NULL, ''),
  277. ('F402', 'Named column joins for LOBs, arrays, and multisets', '', '', 'YES', NULL, ''),
  278. ('F411', 'Time zone specification', '', '', 'YES', NULL, ''),
  279. ('F421', 'National character', '', '', 'YES', NULL, ''),
  280. ('F431', 'Read-only scrollable cursors', '', '', 'NO', NULL, 'yes via JDBC'),
  281. ('F431', 'Read-only scrollable cursors', '01', 'FETCH with explicit NEXT', 'NO', NULL, 'yes via JDBC'),
  282. ('F431', 'Read-only scrollable cursors', '02', 'FETCH FIRST', 'NO', NULL, 'yes via JDBC'),
  283. ('F431', 'Read-only scrollable cursors', '03', 'FETCH LAST', 'NO', NULL, 'yes via JDBC'),
  284. ('F431', 'Read-only scrollable cursors', '04', 'FETCH PRIOR', 'NO', NULL, 'yes via JDBC'),
  285. ('F431', 'Read-only scrollable cursors', '05', 'FETCH ABSOLUTE', 'NO', NULL, 'yes via JDBC'),
  286. ('F431', 'Read-only scrollable cursors', '06', 'FETCH RELATIVE', 'NO', NULL, 'yes via JDBC'),
  287. ('F441', 'Extended set function support', '', '', 'YES', NULL, ''),
  288. ('F442', 'Mixed column references in set functions', '', '', 'YES', NULL, ''),
  289. ('F451', 'Character set definition', '', '', 'YES', NULL, ''),
  290. ('F461', 'Named character sets', '', '', 'YES', NULL, ''),
  291. ('F471', 'Scalar subquery values', '', '', 'YES', NULL, ''),
  292. ('F481', 'Expanded NULL predicate', '', '', 'YES', NULL, ''),
  293. ('F491', 'Constraint management', '', '', 'YES', NULL, ''),
  294. ('F501', 'Features and conformance views', '', '', 'YES', NULL, ''),
  295. ('F501', 'Features and conformance views', '01', 'SQL_FEATURES view', 'YES', NULL, ''),
  296. ('F501', 'Features and conformance views', '02', 'SQL_SIZING view', 'YES', NULL, ''),
  297. ('F501', 'Features and conformance views', '03', 'SQL_LANGUAGES view', 'YES', NULL, ''),
  298. ('F502', 'Enhanced documentation tables', '', '', 'YES', NULL, ''),
  299. ('F502', 'Enhanced documentation tables', '01', 'SQL_SIZING_PROFILES view', 'YES', NULL, ''),
  300. ('F502', 'Enhanced documentation tables', '02', 'SQL_IMPLEMENTATION_INFO view', 'YES', NULL, ''),
  301. ('F502', 'Enhanced documentation tables', '03', 'SQL_PACKAGES view', 'YES', NULL, ''),
  302. ('F521', 'Assertions', '', '', 'NO', NULL, ''),
  303. ('F531', 'Temporary tables', '', '', 'YES', NULL, ''),
  304. ('F555', 'Enhanced seconds precision', '', '', 'YES', NULL, ''),
  305. ('F561', 'Full value expressions', '', '', 'YES', NULL, ''),
  306. ('F571', 'Truth value tests', '', '', 'YES', NULL, ''),
  307. ('F591', 'Derived tables', '', '', 'YES', NULL, ''),
  308. ('F611', 'Indicator data types', '', '', 'NO', NULL, ''),
  309. ('F641', 'Row and table constructors', '', '', 'YES', NULL, ''),
  310. ('F651', 'Catalog name qualifiers', '', '', 'YES', NULL, ''),
  311. ('F661', 'Simple tables', '', '', 'YES', NULL, ''),
  312. ('F671', 'Subqueries in CHECK', '', '', 'NO', NULL, ''),
  313. ('F672', 'Retrospective check constraints', '', '', 'YES', NULL, ''),
  314. ('F691', 'Collation and translation', '', '', 'NO', NULL, 'only one collation per database can be selected'),
  315. ('F692', 'Enhanced collation support', '', '', 'NO', NULL, ''),
  316. ('F693', 'SQL-session and client module collations', '', '', 'NO', NULL, ''),
  317. ('F695', 'Translation support', '', '', 'NO', NULL, ''),
  318. ('F696', 'Additional translation documentation', '', '', 'NO', NULL, ''),
  319. ('F701', 'Referential update actions', '', '', 'YES', NULL, ''),
  320. ('F711', 'ALTER domain', '', '', 'YES', NULL, ''),
  321. ('F721', 'Deferrable constraints', '', '', 'NO', NULL, ''),
  322. ('F731', 'INSERT column privileges', '', '', 'YES', NULL, ''),
  323. ('F741', 'Referential MATCH types', '', '', 'YES', NULL, 'MATCH FULL and MATCH SIMPLE supported but not MATCH PARTIAL'),
  324. ('F751', 'View CHECK enhancements', '', '', 'YES', NULL, ''),
  325. ('F761', 'Session management', '', '', 'NO', NULL, ''),
  326. ('F771', 'Connection management', '', '', 'NO', NULL, ''),
  327. ('F762', 'CURRENT_CATALOG', '','', 'YES', NULL, ''),
  328. ('F763', 'CURRENT_SCHEMA', '','', 'YES', NULL, ''),
  329. ('F781', 'Self-referencing operations', '', '', 'NO', NULL, ''),
  330. ('F791', 'Insensitive cursors', '', '', 'NO', NULL, 'yes via JDBC'),
  331. ('F801', 'Full set function', '', '', 'YES', NULL, ''),
  332. ('F811', 'Extended flagging', '', '', 'NO', NULL, ''),
  333. ('F812', 'Basic flagging', '', '', 'NO', NULL, ''),
  334. ('F813', 'Extended flagging', '', '', 'NO', NULL, ''),
  335. ('F821', 'Local table references', '', '', 'NO', NULL, ''),
  336. ('F831', 'Full cursor update', '', '', 'NO', NULL, 'yes via JDBC'),
  337. ('F831', 'Full cursor update', '01', 'Updatable scrollable cursors', 'NO', NULL, 'yes via JDBC'),
  338. ('F831', 'Full cursor update', '02', 'Updatable ordered cursors', 'NO', NULL, 'yes via JDBC'),
  339. ('F850', 'Top-level <order by clause> in <query expression>', '', '', 'YES', NULL, ''),
  340. ('F851', '<order by clause> in subqueries', '', '', 'YES', NULL, ''),
  341. ('F852', 'Top-level <order by clause> in views', '', '', 'YES', NULL, ''),
  342. ('F855', 'Nested <order by clause> in <query expression>', '', '', 'YES', NULL, ''),
  343. ('F856', 'Nested <fetch first clause> in <query expression>', '', '', 'YES', NULL, ''),
  344. ('F857', 'Top-level <fetch first clause> in <query expression>', '', '', 'YES', NULL, ''),
  345. ('F858', '<fetch first clause> in subqueries', '', '', 'YES', NULL, ''),
  346. ('F859', 'Top-level <fetch first clause> in views', '', '', 'YES', NULL, ''),
  347. ('J621', 'external Java routines', '', '', 'YES', NULL, ''),
  348. ('P001', 'Stored modules', '', '', 'NO', NULL, ''),
  349. ('P002', 'Computational completeness', '', '', 'YES', NULL, ''),
  350. ('P003', 'Information Schema views', '', '', 'YES', NULL, ''),
  351. ('P004', 'extended CASE statement', '', '', 'YES', NULL, ''),
  352. ('P006', 'Multiple assignment', '', '', 'YES', NULL, ''),
  353. ('P007', 'Enhanced diagnostics management', '', '', 'NO', NULL, ''),
  354. ('P008', 'Comma-separated predicates in simple CASE statement', '', '', 'YES', NULL, ''),
  355. ('S011', 'Distinct data types', '', '', 'YES', NULL, ''),
  356. ('S011', 'Distinct data types', '01', 'USER_DEFINED_TYPES view', 'YES', NULL, ''),
  357. ('S023', 'Basic structured types', '', '', 'NO', NULL, ''),
  358. ('S024', 'Enhanced structured types', '', '', 'NO', NULL, ''),
  359. ('S025', 'Final structured types', '', '', 'NO', NULL, ''),
  360. ('S026', 'Self-referencing structured types', '', '', 'NO', NULL, ''),
  361. ('S027', 'Create method by specific method name', '', '', 'NO', NULL, ''),
  362. ('S028', 'Permutable UDT options list', '', '', 'NO', NULL, ''),
  363. ('S041', 'Basic reference types', '', '', 'NO', NULL, ''),
  364. ('S043', 'Enhanced reference types', '', '', 'NO', NULL, ''),
  365. ('S051', 'Create table of type', '', '', 'NO', NULL, ''),
  366. ('S071', 'SQL paths in function and type name resolution', '', '', 'YES', NULL, ''),
  367. ('S081', 'Subtables', '', '', 'NO', NULL, ''),
  368. ('S091', 'Basic array support', '', '', 'YES', NULL, ''),
  369. ('S091', 'Basic array support', '01', 'Arrays of built-in data types', 'YES', NULL, ''),
  370. ('S091', 'Basic array support', '02', 'Arrays of distinct types', 'YES', NULL, ''),
  371. ('S091', 'Basic array support', '03', 'Array expressions', 'YES', NULL, ''),
  372. ('S092', 'Arrays of user-defined types', '', '', 'NO', NULL, ''),
  373. ('S094', 'Arrays of reference types', '', '', 'NO', NULL, ''),
  374. ('S095', 'Array constructors by query', '', '', 'YES', NULL, ''),
  375. ('S096', 'Optional array bounds', '', '', 'YES', NULL, ''),
  376. ('S097', 'Array element assignment', '', '', 'YES', NULL, ''),
  377. ('S111', 'ONLY in query expressions', '', '', 'NO', NULL, ''),
  378. ('S151', 'Type predicate', '', '', 'NO', NULL, ''),
  379. ('S161', 'Subtype treatment', '', '', 'NO', NULL, ''),
  380. ('S162', 'Subtype treatment for references', '', '', 'NO', NULL, ''),
  381. ('S201', 'SQL-invoked routines on arrays', '', '', 'YES', NULL, ''),
  382. ('S201', 'SQL-invoked routines on arrays', '01', 'Array parameters', 'YES', NULL, ''),
  383. ('S201', 'SQL-invoked routines on arrays', '02', 'Array as result type of functions', 'YES', NULL, ''),
  384. ('S202', 'SQL-invoked routines on multisets', '', '', 'NO', NULL, ''),
  385. ('S211', 'User-defined cast functions', '', '', 'NO', NULL, ''),
  386. ('S231', 'Structured type locators', '', '', 'NO', NULL, ''),
  387. ('S232', 'Array locators', '', '', 'NO', NULL, ''),
  388. ('S233', 'Multiset locators', '', '', 'NO', NULL, ''),
  389. ('S241', 'Transform functions', '', '', 'NO', NULL, ''),
  390. ('S242', 'Alter transform statement', '', '', 'NO', NULL, ''),
  391. ('S251', 'User-defined orderings', '', '', 'NO', NULL, ''),
  392. ('S261', 'Specific type method', '', '', 'NO', NULL, ''),
  393. ('S271', 'Basic multiset support', '', '', 'NO', NULL, ''),
  394. ('S272', 'Multisets of user-defined types', '', '', 'NO', NULL, ''),
  395. ('S274', 'Multisets of reference types', '', '', 'NO', NULL, ''),
  396. ('S275', 'Advanced multiset support', '', '', 'NO', NULL, ''),
  397. ('S281', 'Nested collection types', '', '', 'NO', NULL, ''),
  398. ('S291', 'Unique constraint on entire row', '', '', 'NO', NULL, ''),
  399. ('T011', 'Timestamp in Information Schema', '', '', 'YES', NULL, ''),
  400. ('T021', 'BINARY and VARBINARY data types', '', '', 'YES', NULL, ''),
  401. ('T022', 'Advanced BINARY and VARBINARY data type support', '', '', 'YES', NULL, ''),
  402. ('T023', 'Compound binary literals', '', '', 'YES', NULL, ''),
  403. ('T024', 'Spaces in binary literals', '', '', 'YES', NULL, ''),
  404. ('T031', 'BOOLEAN data type', '', '', 'YES', NULL, ''),
  405. ('T041', 'Basic LOB data type support', '', '', 'YES', NULL, ''),
  406. ('T041', 'Basic LOB data type support', '01', 'BLOB data type', 'YES', NULL, ''),
  407. ('T041', 'Basic LOB data type support', '02', 'CLOB data type', 'YES', NULL, ''),
  408. ('T041', 'Basic LOB data type support', '03', 'POSITION, LENGTH, LOWER, TRIM, UPPER, and SUBSTRING functions for LOB data types', 'YES', NULL, ''),
  409. ('T041', 'Basic LOB data type support', '04', 'Concatenation of LOB data types', 'YES', NULL, ''),
  410. ('T041', 'Basic LOB data type support', '05', 'LOB locator: non-holdable', 'YES', NULL, 'yes via JDBC'),
  411. ('T042', 'Extended LOB data type support', '', '', 'YES', NULL, ''),
  412. ('T051', 'Row types', '', '', 'NO', NULL, ''),
  413. ('T052', 'MAX and MIN for row types', '', '', 'NO', NULL, ''),
  414. ('T053', 'Explicit aliases for all-fields reference', '', '', 'NO', NULL, ''),
  415. ('T061', 'UCS support', '', '', 'YES', NULL, ''),
  416. ('T071', 'BIGINT data type', '', '', 'YES', NULL, ''),
  417. ('T111', 'Updatable joins, unions, and columns', '', '', 'NO', NULL, 'only updatable columns'),
  418. ('T121', 'WITH (excluding RECURSIVE) in query expression', '', '', 'YES', NULL, ''),
  419. ('T122', 'WITH (excluding RECURSIVE) in subquery', '', '', 'YES', NULL, ''),
  420. ('T131', 'Recursive query', '', '', 'NO', NULL, ''),
  421. ('T132', 'Recursive query in subquery', '', '', 'NO', NULL, ''),
  422. ('T141', 'SIMILAR predicate', '', '', 'NO', NULL, ''),
  423. ('T151', 'DISTINCT predicate', '', '', 'YES', NULL, ''),
  424. ('T152', 'DISTINCT predicate with negation', '', '', 'YES', NULL, ''),
  425. ('T171', 'LIKE clause in table definition', '', '', 'YES', NULL, ''),
  426. ('T172', 'AS subquery clause in table definition', '', '', 'YES', NULL, ''),
  427. ('T173', 'Extended LIKE clause in table definition', '', '', 'YES', NULL, ''),
  428. ('T174', 'Identity columns', '', '', 'YES', NULL, ''),
  429. ('T175', 'Generated columns', '', '', 'YES', NULL, ''),
  430. ('T176', 'Sequence generator support', '', '', 'YES', NULL, ''),
  431. ('T191', 'Referential action RESTRICT', '', '', 'YES', NULL, ''),
  432. ('T201', 'Comparable data types for referential constraints', '', '', 'YES', NULL, ''),
  433. ('T211', 'Basic trigger capability', '', '', 'YES', NULL, ''),
  434. ('T211', 'Basic trigger capability', '01', 'Triggers activated on UPDATE, INSERT, or DELETE of one base table', 'YES', NULL, ''),
  435. ('T211', 'Basic trigger capability', '02', 'BEFORE triggers', 'YES', NULL, ''),
  436. ('T211', 'Basic trigger capability', '03', 'AFTER triggers', 'YES', NULL, ''),
  437. ('T211', 'Basic trigger capability', '04', 'FOR EACH ROW triggers', 'YES', NULL, ''),
  438. ('T211', 'Basic trigger capability', '05', 'Ability to specify a search condition that must be true before the trigger is invoked', 'YES', NULL, ''),
  439. ('T211', 'Basic trigger capability', '06', 'Support for run-time rules for the interaction of triggers and constraints', 'YES', NULL, ''),
  440. ('T211', 'Basic trigger capability', '07', 'TRIGGER privilege', 'YES', NULL, ''),
  441. ('T211', 'Basic trigger capability', '08', 'Multiple triggers for the same event are executed in the order in which they were created in the catalog', 'YES', NULL, ''),
  442. ('T212', 'Enhanced trigger capability', '', '', 'YES', NULL, ''),
  443. ('T231', 'Sensitive cursors', '', '', 'YES', NULL, ''),
  444. ('T241', 'START TRANSACTION statement', '', '', 'YES', NULL, ''),
  445. ('T251', 'SET TRANSACTION statement: LOCAL option', '', '', 'NO', NULL, ''),
  446. ('T261', 'Chained transactions', '', '', 'YES', NULL, ''),
  447. ('T271', 'Savepoints', '', '', 'YES', NULL, ''),
  448. ('T272', 'Enhanced savepoint management', '', '', 'YES', NULL, ''),
  449. ('T281', 'SELECT privilege with column granularity', '', '', 'YES', NULL, ''),
  450. ('T301', 'Functional dependencies', '', '', 'YES', NULL, ''),
  451. ('T312', 'OVERLAY function', '', '', 'YES', NULL, ''),
  452. ('T321', 'Basic SQL-invoked routines', '', '', 'YES', NULL, ''),
  453. ('T321', 'Basic SQL-invoked routines', '01', 'User-defined functions with no overloading', 'YES', NULL, ''),
  454. ('T321', 'Basic SQL-invoked routines', '02', 'User-defined stored procedures with no overloading', 'YES', NULL, ''),
  455. ('T321', 'Basic SQL-invoked routines', '03', 'Function invocation', 'YES', NULL, ''),
  456. ('T321', 'Basic SQL-invoked routines', '04', 'CALL statement', 'YES', NULL, ''),
  457. ('T321', 'Basic SQL-invoked routines', '05', 'RETURN statement', 'YES', NULL, ''),
  458. ('T321', 'Basic SQL-invoked routines', '06', 'ROUTINES view', 'YES', NULL, ''),
  459. ('T321', 'Basic SQL-invoked routines', '07', 'PARAMETERS view', 'YES', NULL, ''),
  460. ('T322', 'Overloading of SQL-invoked functions and procedures', '', '', 'YES', NULL, ''),
  461. ('T323', 'Explicit security for external routines', '', '', 'NO', NULL, ''),
  462. ('T324', 'Explicit security for SQL routines', '', '', 'YES', NULL, 'only DEFINER'),
  463. ('T325', 'Qualified SQL parameter references', '', '', 'NO', NULL, ''),
  464. ('T326', 'Table functions', '', '', 'YES', NULL, ''),
  465. ('T331', 'Basic roles', '', '', 'YES', NULL, ''),
  466. ('T332', 'Extended roles', '', '', 'NO', NULL, ''),
  467. ('T351', 'Bracketed SQL comments (/*...*/ comments)', '', '', 'YES', NULL, ''),
  468. ('T401', 'INSERT into a cursor', '', '', 'NO', NULL, 'yes via JDBC'),
  469. ('T411', 'UPDATE statement: SET ROW option', '', '', 'NO', NULL, ''),
  470. ('T431', 'Extended grouping capabilities', '', '', 'NO', NULL, ''),
  471. ('T432', 'Nested and concatenated GROUPING SETS', '', '', 'NO', NULL, ''),
  472. ('T433', 'Multiargument GROUPING function', '', '', 'NO', NULL, ''),
  473. ('T434', 'GROUP BY DISINCT', '', '', 'NO', NULL, ''),
  474. ('T441', 'ABS and MOD functions', '', '', 'YES', NULL, ''),
  475. ('T461', 'Symmetric BETWEEN predicate', '', '', 'YES', NULL, ''),
  476. ('T471', 'Result sets return value', '', '', 'NO', NULL, ''),
  477. ('T491', 'LATERAL derived table', '', '', 'YES', NULL, ''),
  478. ('T501', 'Enhanced EXISTS predicate', '', '', 'YES', NULL, ''),
  479. ('T511', 'Transaction counts', '', '', 'NO', NULL, ''),
  480. ('T541', 'Updatable table references', '', '', 'NO', NULL, ''),
  481. ('T551', 'Optional key words for default syntax', '', '', 'YES', NULL, ''),
  482. ('T561', 'Holdable locators', '', '', 'NO', NULL, ''),
  483. ('T571', 'Array-returning external SQL-invoked functions', '', '', 'YES', NULL, ''),
  484. ('T572', 'Multiset-returning external SQL-invoked functions', '', '', 'NO', NULL, ''),
  485. ('T581', 'Regular expression substring function', '', '', 'YES', NULL, ''),
  486. ('T591', 'UNIQUE constraints of possibly null columns', '', '', 'YES', NULL, ''),
  487. ('T601', 'Local cursor references', '', '', 'NO', NULL, ''),
  488. ('T611', 'Elementary OLAP operations', '', '', 'NO', NULL, ''),
  489. ('T612', 'Advanced OLAP operations', '', '', 'NO', NULL, ''),
  490. ('T613', 'Sampling', '', '', 'NO', NULL, ''),
  491. ('T621', 'Enhanced numeric functions', '', '', 'NO', NULL, ''),
  492. ('T631', 'IN predicate with one list element', '', '', 'YES', NULL, ''),
  493. ('T641', 'Multiple column assignment', '', '', 'YES', NULL, ''),
  494. ('T651', 'SQL-schema statements in SQL routines', '', '', 'NO', NULL, ''),
  495. ('T652', 'SQL-dynamic statements in SQL routines', '', '', 'NO', NULL, ''),
  496. ('T653', 'SQL-schema statements in external routines', '', '', 'NO', NULL, ''),
  497. ('T654', 'SQL-dynamic statements in external routines', '', '', 'YES', NULL, '');
  498. /*sql_packages*/
  499. VALUES
  500. ( 'PKG001', 'Enhanced datetime facilities','YES', CAST(NULL AS CHARACTER), '' ),
  501. ( 'PKG002', 'Enhanced integrity management','YES', NULL, '' ),
  502. ( 'PKG004', 'PSM', 'YES', NULL, 'only schema contained routines' ),
  503. ( 'PKG006', 'Basic object support', 'NO', NULL, '' ),
  504. ( 'PKG007', 'Enhanced object support','NO', NULL, '' ),
  505. ( 'PKG008', 'Active database', 'YES', NULL, '' ),
  506. ( 'PKG010', 'OLAP', 'NO', NULL, '');
  507. /*sql_parts*/
  508. VALUES
  509. ( 'ISO9075-1', 'Framework','YES', CAST(NULL AS CHARACTER), '' ),
  510. ( 'ISO9075-2', 'Foundation','YES', NULL, '' ),
  511. ( 'ISO9075-3', 'Call-level interface','YES', NULL, '' ),
  512. ( 'ISO9075-4', 'Persistent Stored Modules', 'YES', NULL, '' ),
  513. ( 'ISO9075-9', 'Management of External Data', 'NO', NULL, '' ),
  514. ( 'ISO9075-10', 'Object Language Bindings,','NO', NULL, '' ),
  515. ( 'ISO9075-11', 'Information and Definition Schemas', 'YES', NULL, '' ),
  516. ( 'ISO9075-13', 'Routines & Types Using the Java Programming', 'YES', NULL, ''),
  517. ( 'ISO9075-14', 'XML-Related Specifications', 'NO', NULL, '');
  518. /*sql_sizing*/
  519. VALUES
  520. ( 34, 'MAXIMUM CATALOG NAME LENGTH', 128,'length in characters' ),
  521. ( 30, 'MAXIMUM COLUMN NAME LENGTH',128, NULL ),
  522. ( 97, 'MAXIMUM COLUMNS IN GROUP BY', 0, 'limited by memory only' ),
  523. ( 99, 'MAXIMUM COLUMNS IN ORDER BY', 0, 'limited by memory only' ),
  524. ( 100, 'MAXIMUM COLUMNS IN SELECT', 0,'limited by memory only' ),
  525. ( 101, 'MAXIMUM COLUMNS IN TABLE', 0, 'limited by memory only' ),
  526. ( 1, 'MAXIMUM CONCURRENT ACTIVITIES', 0, 'limited by memory only'),
  527. ( 31, 'MAXIMUM CURSOR NAME LENGTH', 128, NULL),
  528. ( 0, 'MAXIMUM DRIVER CONNECTIONS', 0, 'limited by memory only' ),
  529. ( 10005, 'MAXIMUM IDENTIFIER LENGTH', 128, NULL),
  530. ( 32, 'MAXIMUM SCHEMA NAME LENGTH', 128, NULL),
  531. ( 20000, 'MAXIMUM STATEMENT OCTETS', 0, 'limited by memory only'),
  532. ( 20001, 'MAXIMUM STATEMENT OCTETS DATA', 0, 'limited by memory only'),
  533. ( 20002, 'MAXIMUM STATEMENT OCTETS SCHEMA',0, 'limited by memory only'),
  534. ( 35, 'MAXIMUM TABLE NAME LENGTH', 128, NULL),
  535. ( 106, 'MAXIMUM TABLES IN SELECT', 0, 'limited by memory only'),
  536. ( 107, 'MAXIMUM USER NAME LENGTH', 128, NULL ),
  537. ( 25000, 'MAXIMUM CURRENT DEFAULT TRANSFORM GROUP LENGTH', NULL, NULL),
  538. ( 25001, 'MAXIMUM CURRENT TRANSFORM GROUP LENGTH',NULL, NULL),
  539. ( 25002, 'MAXIMUM CURRENT PATH LENGTH', NULL, NULL),
  540. ( 25003, 'MAXIMUM CURRENT ROLE LENGTH', 128, NULL),
  541. ( 25004, 'MAXIMUM SESSION USER LENGTH', 128, NULL),
  542. ( 25005, 'MAXIMUM SYSTEM USER LENGTH', 128, NULL);