| 1 |
# Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, |
| 2 |
# and the EPL 1.0 (https://h2database.com/html/license.html). |
| 3 |
# Initial Developer: H2 Group |
| 4 |
|
| 5 |
"TABLE_NAME","COLUMN_NAME","DESCRIPTION" |
| 6 |
|
| 7 |
# Tables and views |
| 8 |
|
| 9 |
"CHECK_CONSTRAINTS",," |
| 10 |
Contains CHECK clauses of check and domain constraints. |
| 11 |
" |
| 12 |
|
| 13 |
"COLLATIONS",," |
| 14 |
Contains available collations. |
| 15 |
" |
| 16 |
|
| 17 |
"COLUMNS",," |
| 18 |
Contains information about columns of tables. |
| 19 |
" |
| 20 |
|
| 21 |
"COLUMN_PRIVILEGES",," |
| 22 |
Contains information about privileges of columns. |
| 23 |
H2 doesn't have per-column privileges, so this view actually contains privileges of their tables. |
| 24 |
" |
| 25 |
|
| 26 |
"CONSTANTS",," |
| 27 |
Contains information about constants. |
| 28 |
" |
| 29 |
|
| 30 |
"CONSTRAINT_COLUMN_USAGE",," |
| 31 |
Contains information about columns used in constraints. |
| 32 |
" |
| 33 |
|
| 34 |
"DOMAINS",," |
| 35 |
Contains information about domains. |
| 36 |
" |
| 37 |
|
| 38 |
"DOMAIN_CONSTRAINTS",," |
| 39 |
Contains basic information about domain constraints. |
| 40 |
See also INFORMATION_SCHEMA.CHECK_CONSTRAINTS. |
| 41 |
" |
| 42 |
|
| 43 |
"ELEMENT_TYPES",," |
| 44 |
Contains information about types of array elements. |
| 45 |
" |
| 46 |
|
| 47 |
"ENUM_VALUES",," |
| 48 |
Contains information about enum values. |
| 49 |
" |
| 50 |
|
| 51 |
"FIELDS",," |
| 52 |
Contains information about fields of row values. |
| 53 |
" |
| 54 |
|
| 55 |
"INDEXES",," |
| 56 |
Contains information about indexes. |
| 57 |
" |
| 58 |
|
| 59 |
"INDEX_COLUMNS",," |
| 60 |
Contains information about columns used in indexes. |
| 61 |
" |
| 62 |
|
| 63 |
"INFORMATION_SCHEMA_CATALOG_NAME",," |
| 64 |
Contains a single row with the name of catalog (database name). |
| 65 |
" |
| 66 |
|
| 67 |
"IN_DOUBT",," |
| 68 |
Contains information about prepared transactions. |
| 69 |
" |
| 70 |
|
| 71 |
"KEY_COLUMN_USAGE",," |
| 72 |
Contains information about columns used by primary key, unique, or referential constraint. |
| 73 |
" |
| 74 |
|
| 75 |
"LOCKS",," |
| 76 |
Contains information about tables locked by sessions. |
| 77 |
" |
| 78 |
|
| 79 |
"PARAMETERS",," |
| 80 |
Contains information about parameters of routines. |
| 81 |
" |
| 82 |
|
| 83 |
"QUERY_STATISTICS",," |
| 84 |
Contains statistics of queries when query statistics gathering is enabled. |
| 85 |
" |
| 86 |
|
| 87 |
"REFERENTIAL_CONSTRAINTS",," |
| 88 |
Contains additional information about referential constraints. |
| 89 |
" |
| 90 |
|
| 91 |
"RIGHTS",," |
| 92 |
Contains information about granted rights and roles. |
| 93 |
" |
| 94 |
|
| 95 |
"ROLES",," |
| 96 |
Contains information about roles. |
| 97 |
" |
| 98 |
|
| 99 |
"ROUTINES",," |
| 100 |
Contains information about user-defined routines, including aggregate functions. |
| 101 |
" |
| 102 |
|
| 103 |
"SCHEMATA",," |
| 104 |
Contains information about schemas. |
| 105 |
" |
| 106 |
|
| 107 |
"SEQUENCES",," |
| 108 |
Contains information about sequences. |
| 109 |
" |
| 110 |
|
| 111 |
"SESSIONS",," |
| 112 |
Contains information about sessions. |
| 113 |
Only users with ADMIN privileges can see all sessions, other users can see only own session. |
| 114 |
" |
| 115 |
|
| 116 |
"SESSION_STATE",," |
| 117 |
Contains the state of the current session. |
| 118 |
" |
| 119 |
|
| 120 |
"SETTINGS",," |
| 121 |
Contains values of various settings. |
| 122 |
" |
| 123 |
|
| 124 |
"SYNONYMS",," |
| 125 |
Contains information about table synonyms. |
| 126 |
" |
| 127 |
|
| 128 |
"TABLES",," |
| 129 |
Contains information about tables. |
| 130 |
See also INFORMATION_SCHEMA.COLUMNS. |
| 131 |
" |
| 132 |
|
| 133 |
"TABLE_CONSTRAINTS",," |
| 134 |
Contains basic information about table constraints (check, primary key, unique, and referential). |
| 135 |
" |
| 136 |
|
| 137 |
"TABLE_PRIVILEGES",," |
| 138 |
Contains information about privileges of tables. |
| 139 |
See INFORMATION_SCHEMA.CHECK_CONSTRAINTS, INFORMATION_SCHEMA.KEY_COLUMN_USAGE, |
| 140 |
and INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS for additional information. |
| 141 |
" |
| 142 |
|
| 143 |
"TRIGGERS",," |
| 144 |
Contains information about triggers. |
| 145 |
" |
| 146 |
|
| 147 |
"USERS",," |
| 148 |
Contains information about users. |
| 149 |
Only users with ADMIN privileges can see all users, other users can see only themselves. |
| 150 |
" |
| 151 |
|
| 152 |
"VIEWS",," |
| 153 |
Contains additional information about views. |
| 154 |
See INFORMATION_SCHEMA.TABLES for basic information. |
| 155 |
" |
| 156 |
|
| 157 |
# Common columns with data type information |
| 158 |
|
| 159 |
,"DATA_TYPE"," |
| 160 |
The SQL data type name. |
| 161 |
" |
| 162 |
|
| 163 |
,"CHARACTER_MAXIMUM_LENGTH"," |
| 164 |
The maximum length in characters for character string data types. |
| 165 |
For binary string data types contains the same value as CHARACTER_OCTET_LENGTH. |
| 166 |
" |
| 167 |
|
| 168 |
,"CHARACTER_OCTET_LENGTH"," |
| 169 |
The maximum length in bytes for binary string data types. |
| 170 |
For character string data types contains the same value as CHARACTER_MAXIMUM_LENGTH. |
| 171 |
" |
| 172 |
|
| 173 |
,"NUMERIC_PRECISION"," |
| 174 |
The precision for numeric data types. |
| 175 |
" |
| 176 |
|
| 177 |
,"NUMERIC_PRECISION_RADIX"," |
| 178 |
The radix of precision (2 or 10) for numeric data types. |
| 179 |
" |
| 180 |
|
| 181 |
,"NUMERIC_SCALE"," |
| 182 |
The scale for numeric data types. |
| 183 |
" |
| 184 |
|
| 185 |
,"DATETIME_PRECISION"," |
| 186 |
The fractional seconds precision for datetime data types. |
| 187 |
" |
| 188 |
|
| 189 |
,"INTERVAL_TYPE"," |
| 190 |
The data type of interval qualifier for interval data types. |
| 191 |
" |
| 192 |
|
| 193 |
,"INTERVAL_PRECISION"," |
| 194 |
The leading field precision for interval data types. |
| 195 |
" |
| 196 |
|
| 197 |
,"CHARACTER_SET_CATALOG"," |
| 198 |
The catalog (database name) for character string data types. |
| 199 |
" |
| 200 |
|
| 201 |
,"CHARACTER_SET_SCHEMA"," |
| 202 |
The name of public schema for character string data types. |
| 203 |
" |
| 204 |
|
| 205 |
,"CHARACTER_SET_NAME"," |
| 206 |
The 'Unicode' for character string data types. |
| 207 |
" |
| 208 |
|
| 209 |
,"COLLATION_CATALOG"," |
| 210 |
The catalog (database name) for character string data types. |
| 211 |
" |
| 212 |
|
| 213 |
,"COLLATION_SCHEMA"," |
| 214 |
The name of public schema for character string data types. |
| 215 |
" |
| 216 |
|
| 217 |
,"COLLATION_NAME"," |
| 218 |
The name of collation for character string data types. |
| 219 |
" |
| 220 |
|
| 221 |
,"MAXIMUM_CARDINALITY"," |
| 222 |
The maximum cardinality for array data types. |
| 223 |
" |
| 224 |
|
| 225 |
,"DTD_IDENTIFIER"," |
| 226 |
The data type identifier to read additional information from INFORMATION_SCHEMA.ELEMENT_TYPES for array data types, |
| 227 |
INFORMATION_SCHEMA.ENUM_VALUES for ENUM data type, and INFORMATION_SCHEMA.FIELDS for row value data types. |
| 228 |
" |
| 229 |
|
| 230 |
,"DECLARED_DATA_TYPE"," |
| 231 |
The declared SQL data type name for numeric data types. |
| 232 |
" |
| 233 |
|
| 234 |
,"DECLARED_NUMERIC_PRECISION"," |
| 235 |
The declared precision, if any, for numeric data types. |
| 236 |
" |
| 237 |
|
| 238 |
,"DECLARED_NUMERIC_SCALE"," |
| 239 |
The declared scale, if any, for numeric data types. |
| 240 |
" |
| 241 |
|
| 242 |
,"GEOMETRY_TYPE"," |
| 243 |
The geometry type constraint, if any, for geometry data types. |
| 244 |
" |
| 245 |
|
| 246 |
,"GEOMETRY_SRID"," |
| 247 |
The geometry SRID (Spatial Reference Identifier) constraint, if any, for geometry data types. |
| 248 |
" |
| 249 |
|
| 250 |
# Other common fields |
| 251 |
|
| 252 |
,"CONSTRAINT_CATALOG"," |
| 253 |
The catalog (database name). |
| 254 |
" |
| 255 |
|
| 256 |
,"CONSTRAINT_SCHEMA"," |
| 257 |
The schema of the constraint. |
| 258 |
" |
| 259 |
|
| 260 |
,"CONSTRAINT_NAME"," |
| 261 |
The name of the constraint. |
| 262 |
" |
| 263 |
|
| 264 |
,"DOMAIN_CATALOG"," |
| 265 |
The catalog (database name). |
| 266 |
" |
| 267 |
|
| 268 |
,"DOMAIN_SCHEMA"," |
| 269 |
The schema of domain. |
| 270 |
" |
| 271 |
|
| 272 |
,"DOMAIN_NAME"," |
| 273 |
The name of domain. |
| 274 |
" |
| 275 |
|
| 276 |
,"INDEX_CATALOG"," |
| 277 |
The catalog (database name). |
| 278 |
" |
| 279 |
|
| 280 |
,"INDEX_SCHEMA"," |
| 281 |
The schema of the index. |
| 282 |
" |
| 283 |
|
| 284 |
,"INDEX_NAME"," |
| 285 |
The name of the index. |
| 286 |
" |
| 287 |
|
| 288 |
,"OBJECT_CATALOG"," |
| 289 |
The catalog (database name). |
| 290 |
" |
| 291 |
|
| 292 |
,"OBJECT_SCHEMA"," |
| 293 |
The schema of the object. |
| 294 |
" |
| 295 |
|
| 296 |
,"OBJECT_NAME"," |
| 297 |
The name of the object. |
| 298 |
" |
| 299 |
|
| 300 |
,"OBJECT_TYPE"," |
| 301 |
The TYPE of the object ('CONSTANT', 'DOMAIN', 'TABLE', or 'ROUTINE'). |
| 302 |
" |
| 303 |
|
| 304 |
,"SPECIFIC_CATALOG"," |
| 305 |
The catalog (database name). |
| 306 |
" |
| 307 |
|
| 308 |
,"SPECIFIC_SCHEMA"," |
| 309 |
The schema of the overloaded version of routine. |
| 310 |
" |
| 311 |
|
| 312 |
,"SPECIFIC_NAME"," |
| 313 |
The name of the overloaded version of routine. |
| 314 |
" |
| 315 |
|
| 316 |
,"TABLE_CATALOG"," |
| 317 |
The catalog (database name). |
| 318 |
" |
| 319 |
|
| 320 |
,"TABLE_SCHEMA"," |
| 321 |
The schema of the table. |
| 322 |
" |
| 323 |
|
| 324 |
,"TABLE_NAME"," |
| 325 |
The name of the table. |
| 326 |
" |
| 327 |
|
| 328 |
,"COLUMN_NAME"," |
| 329 |
The name of the column. |
| 330 |
" |
| 331 |
|
| 332 |
,"ORDINAL_POSITION"," |
| 333 |
The ordinal position (1-based). |
| 334 |
" |
| 335 |
|
| 336 |
,"GRANTOR"," |
| 337 |
NULL. |
| 338 |
" |
| 339 |
|
| 340 |
,"GRANTEE"," |
| 341 |
The name of grantee. |
| 342 |
" |
| 343 |
|
| 344 |
,"PRIVILEGE_TYPE"," |
| 345 |
'SELECT', 'INSERT', 'UPDATE', or 'DELETE'. |
| 346 |
" |
| 347 |
|
| 348 |
,"IS_GRANTABLE"," |
| 349 |
Whether grantee may grant rights to this object to others ('YES' or 'NO'). |
| 350 |
" |
| 351 |
|
| 352 |
,"REMARKS"," |
| 353 |
Optional remarks. |
| 354 |
" |
| 355 |
|
| 356 |
,"SESSION_ID"," |
| 357 |
The identifier of the session. |
| 358 |
" |
| 359 |
|
| 360 |
# Individual fields |
| 361 |
|
| 362 |
"CHECK_CONSTRAINTS","CHECK_CLAUSE"," |
| 363 |
The SQL of CHECK clause. |
| 364 |
" |
| 365 |
|
| 366 |
"COLLATIONS","PAD_ATTRIBUTE"," |
| 367 |
'NO PAD'. |
| 368 |
" |
| 369 |
|
| 370 |
"COLLATIONS","LANGUAGE_TAG"," |
| 371 |
The language tag. |
| 372 |
" |
| 373 |
|
| 374 |
"COLUMNS","COLUMN_DEFAULT"," |
| 375 |
The SQL of DEFAULT expression, if any. |
| 376 |
" |
| 377 |
|
| 378 |
"COLUMNS","IS_NULLABLE"," |
| 379 |
Whether column may contain NULL value ('YES' or 'NO'). |
| 380 |
" |
| 381 |
|
| 382 |
"COLUMNS","DOMAIN_CATALOG"," |
| 383 |
The catalog for columns with domain. |
| 384 |
" |
| 385 |
|
| 386 |
"COLUMNS","DOMAIN_SCHEMA"," |
| 387 |
The schema of domain for columns with domain. |
| 388 |
" |
| 389 |
|
| 390 |
"COLUMNS","DOMAIN_NAME"," |
| 391 |
The name of domain for columns with domain. |
| 392 |
" |
| 393 |
|
| 394 |
"COLUMNS","IS_IDENTITY"," |
| 395 |
Whether column is an identity column ('YES' or 'NO'). |
| 396 |
" |
| 397 |
|
| 398 |
"COLUMNS","IDENTITY_GENERATION"," |
| 399 |
Identity generation ('ALWAYS' or 'BY DEFAULT') for identity columns. |
| 400 |
" |
| 401 |
|
| 402 |
"COLUMNS","IDENTITY_START"," |
| 403 |
The initial start value for identity columns. |
| 404 |
" |
| 405 |
|
| 406 |
"COLUMNS","IDENTITY_INCREMENT"," |
| 407 |
The increment value for identity columns. |
| 408 |
" |
| 409 |
|
| 410 |
"COLUMNS","IDENTITY_MAXIMUM"," |
| 411 |
The maximum value for identity columns. |
| 412 |
" |
| 413 |
|
| 414 |
"COLUMNS","IDENTITY_MINIMUM"," |
| 415 |
The minimum value for identity columns. |
| 416 |
" |
| 417 |
|
| 418 |
"COLUMNS","IDENTITY_CYCLE"," |
| 419 |
Whether identity values are cycled ('YES' or 'NO') for identity columns. |
| 420 |
" |
| 421 |
|
| 422 |
"COLUMNS","IS_GENERATED"," |
| 423 |
Whether column is an generated column ('ALWAYS' or 'NEVER') |
| 424 |
" |
| 425 |
|
| 426 |
"COLUMNS","GENERATION_EXPRESSION"," |
| 427 |
The SQL of GENERATED ALWAYS AS expression for generated columns. |
| 428 |
" |
| 429 |
|
| 430 |
"COLUMNS","IDENTITY_BASE"," |
| 431 |
The current base value for identity columns. |
| 432 |
" |
| 433 |
|
| 434 |
"COLUMNS","IDENTITY_CACHE"," |
| 435 |
The cache size for identity columns. |
| 436 |
" |
| 437 |
|
| 438 |
"COLUMNS","COLUMN_ON_UPDATE"," |
| 439 |
The SQL of ON UPDATE expression, if any. |
| 440 |
" |
| 441 |
|
| 442 |
"COLUMNS","IS_VISIBLE"," |
| 443 |
Whether column is visible (included into SELECT *). |
| 444 |
" |
| 445 |
|
| 446 |
"COLUMNS","DEFAULT_ON_NULL"," |
| 447 |
Whether value of DEFAULT expression is used when NULL value is inserted. |
| 448 |
" |
| 449 |
|
| 450 |
"COLUMNS","SELECTIVITY"," |
| 451 |
The selectivity of a column (0-100), used to choose the best index. |
| 452 |
" |
| 453 |
|
| 454 |
"CONSTANTS","CONSTANT_CATALOG"," |
| 455 |
The catalog (database name). |
| 456 |
" |
| 457 |
|
| 458 |
"CONSTANTS","CONSTANT_SCHEMA"," |
| 459 |
The schema of the constant. |
| 460 |
" |
| 461 |
|
| 462 |
"CONSTANTS","CONSTANT_NAME"," |
| 463 |
The name of the constant. |
| 464 |
" |
| 465 |
|
| 466 |
"CONSTANTS","VALUE_DEFINITION"," |
| 467 |
The SQL of value. |
| 468 |
" |
| 469 |
|
| 470 |
"DOMAINS","DOMAIN_DEFAULT"," |
| 471 |
The SQL of DEFAULT expression, if any. |
| 472 |
" |
| 473 |
|
| 474 |
"DOMAINS","DOMAIN_ON_UPDATE"," |
| 475 |
The SQL of ON UPDATE expression, if any. |
| 476 |
" |
| 477 |
|
| 478 |
"DOMAINS","PARENT_DOMAIN_CATALOG"," |
| 479 |
The catalog (database name) for domains with parent domain. |
| 480 |
" |
| 481 |
|
| 482 |
"DOMAINS","PARENT_DOMAIN_SCHEMA"," |
| 483 |
The schema of parent domain for domains with parent domain. |
| 484 |
" |
| 485 |
|
| 486 |
"DOMAINS","PARENT_DOMAIN_NAME"," |
| 487 |
The name of parent domain for domains with parent domain. |
| 488 |
" |
| 489 |
|
| 490 |
"DOMAIN_CONSTRAINTS","IS_DEFERRABLE"," |
| 491 |
'NO'. |
| 492 |
" |
| 493 |
|
| 494 |
"DOMAIN_CONSTRAINTS","INITIALLY_DEFERRED"," |
| 495 |
'NO'. |
| 496 |
" |
| 497 |
|
| 498 |
"ELEMENT_TYPES","COLLECTION_TYPE_IDENTIFIER"," |
| 499 |
The DTD_IDENTIFIER value of the object. |
| 500 |
" |
| 501 |
|
| 502 |
"ENUM_VALUES","ENUM_IDENTIFIER"," |
| 503 |
The DTD_IDENTIFIER value of the object. |
| 504 |
" |
| 505 |
|
| 506 |
"ENUM_VALUES","VALUE_NAME"," |
| 507 |
The name of enum value. |
| 508 |
" |
| 509 |
|
| 510 |
"ENUM_VALUES","VALUE_ORDINAL"," |
| 511 |
The ordinal of enum value. |
| 512 |
" |
| 513 |
|
| 514 |
"FIELDS","ROW_IDENTIFIER"," |
| 515 |
The DTD_IDENTIFIER value of the object. |
| 516 |
" |
| 517 |
|
| 518 |
"FIELDS","FIELD_NAME"," |
| 519 |
The name of the field of the row value. |
| 520 |
" |
| 521 |
|
| 522 |
"INDEXES","INDEX_TYPE_NAME"," |
| 523 |
The type of the index ('PRIMARY KEY', 'UNIQUE INDEX', 'SPATIAL INDEX', etc.) |
| 524 |
" |
| 525 |
|
| 526 |
"INDEXES","NULLS_DISTINCT"," |
| 527 |
'YES' for unique indexes with distinct null values, |
| 528 |
'NO' for unique indexes with not distinct null values, |
| 529 |
'ALL' for multi-column unique indexes where only rows with null values in all unique columns are distinct, |
| 530 |
NULL for other types of indexes. |
| 531 |
" |
| 532 |
|
| 533 |
"INDEXES","IS_GENERATED"," |
| 534 |
Whether index is generated by a constraint and belongs to it. |
| 535 |
" |
| 536 |
|
| 537 |
"INDEXES","INDEX_CLASS"," |
| 538 |
The Java class name of index implementation. |
| 539 |
" |
| 540 |
|
| 541 |
"INDEX_COLUMNS","ORDERING_SPECIFICATION"," |
| 542 |
'ASC' or 'DESC'. |
| 543 |
" |
| 544 |
|
| 545 |
"INDEX_COLUMNS","NULL_ORDERING"," |
| 546 |
'FIRST', 'LAST', or NULL. |
| 547 |
" |
| 548 |
|
| 549 |
"INDEX_COLUMNS","IS_UNIQUE"," |
| 550 |
Whether this column is a part of unique column list of a unique index (TRUE or FALSE). |
| 551 |
" |
| 552 |
|
| 553 |
"INFORMATION_SCHEMA_CATALOG_NAME","CATALOG_NAME"," |
| 554 |
The catalog (database name). |
| 555 |
" |
| 556 |
|
| 557 |
"IN_DOUBT","TRANSACTION_NAME"," |
| 558 |
The name of prepared transaction. |
| 559 |
" |
| 560 |
|
| 561 |
"IN_DOUBT","TRANSACTION_STATE"," |
| 562 |
The state of prepared transaction ('IN_DOUBT', 'COMMIT', or 'ROLLBACK'). |
| 563 |
" |
| 564 |
|
| 565 |
"KEY_COLUMN_USAGE","POSITION_IN_UNIQUE_CONSTRAINT"," |
| 566 |
The ordinal position in the referenced unique constraint (1-based). |
| 567 |
" |
| 568 |
|
| 569 |
"LOCKS","LOCK_TYPE"," |
| 570 |
'READ' or 'WRITE'. |
| 571 |
" |
| 572 |
|
| 573 |
"PARAMETERS","PARAMETER_MODE"," |
| 574 |
'IN'. |
| 575 |
" |
| 576 |
|
| 577 |
"PARAMETERS","IS_RESULT"," |
| 578 |
'NO'. |
| 579 |
" |
| 580 |
|
| 581 |
"PARAMETERS","AS_LOCATOR"," |
| 582 |
'YES' for LOBs, 'NO' for others. |
| 583 |
" |
| 584 |
|
| 585 |
"PARAMETERS","PARAMETER_NAME"," |
| 586 |
The name of the parameter. |
| 587 |
" |
| 588 |
|
| 589 |
"PARAMETERS","PARAMETER_DEFAULT"," |
| 590 |
NULL. |
| 591 |
" |
| 592 |
|
| 593 |
"QUERY_STATISTICS","SQL_STATEMENT"," |
| 594 |
The SQL statement. |
| 595 |
" |
| 596 |
|
| 597 |
"QUERY_STATISTICS","EXECUTION_COUNT"," |
| 598 |
The execution count. |
| 599 |
" |
| 600 |
|
| 601 |
"QUERY_STATISTICS","MIN_EXECUTION_TIME"," |
| 602 |
The minimum execution time in milliseconds. |
| 603 |
" |
| 604 |
|
| 605 |
"QUERY_STATISTICS","MAX_EXECUTION_TIME"," |
| 606 |
The maximum execution time in milliseconds. |
| 607 |
" |
| 608 |
|
| 609 |
"QUERY_STATISTICS","CUMULATIVE_EXECUTION_TIME"," |
| 610 |
The total execution time in milliseconds. |
| 611 |
" |
| 612 |
|
| 613 |
"QUERY_STATISTICS","AVERAGE_EXECUTION_TIME"," |
| 614 |
The average execution time in milliseconds. |
| 615 |
" |
| 616 |
|
| 617 |
"QUERY_STATISTICS","STD_DEV_EXECUTION_TIME"," |
| 618 |
The standard deviation of execution time in milliseconds. |
| 619 |
" |
| 620 |
|
| 621 |
"QUERY_STATISTICS","MIN_ROW_COUNT"," |
| 622 |
The minimum number of rows. |
| 623 |
" |
| 624 |
|
| 625 |
"QUERY_STATISTICS","MAX_ROW_COUNT"," |
| 626 |
The maximum number of rows. |
| 627 |
" |
| 628 |
|
| 629 |
"QUERY_STATISTICS","CUMULATIVE_ROW_COUNT"," |
| 630 |
The total number of rows. |
| 631 |
" |
| 632 |
|
| 633 |
"QUERY_STATISTICS","AVERAGE_ROW_COUNT"," |
| 634 |
The average number of rows. |
| 635 |
" |
| 636 |
|
| 637 |
"QUERY_STATISTICS","STD_DEV_ROW_COUNT"," |
| 638 |
The standard deviation of number of rows. |
| 639 |
" |
| 640 |
|
| 641 |
"REFERENTIAL_CONSTRAINTS","UNIQUE_CONSTRAINT_CATALOG"," |
| 642 |
The catalog (database name). |
| 643 |
" |
| 644 |
|
| 645 |
"REFERENTIAL_CONSTRAINTS","UNIQUE_CONSTRAINT_SCHEMA"," |
| 646 |
The schema of referenced unique constraint. |
| 647 |
" |
| 648 |
|
| 649 |
"REFERENTIAL_CONSTRAINTS","UNIQUE_CONSTRAINT_NAME"," |
| 650 |
The name of referenced unique constraint. |
| 651 |
" |
| 652 |
|
| 653 |
"REFERENTIAL_CONSTRAINTS","MATCH_OPTION"," |
| 654 |
'NONE'. |
| 655 |
" |
| 656 |
|
| 657 |
"REFERENTIAL_CONSTRAINTS","UPDATE_RULE"," |
| 658 |
The rule for UPDATE in referenced table ('RESTRICT', 'CASCADE', 'SET DEFAULT', or 'SET NULL'). |
| 659 |
" |
| 660 |
|
| 661 |
"REFERENTIAL_CONSTRAINTS","DELETE_RULE"," |
| 662 |
The rule for DELETE in referenced table ('RESTRICT', 'CASCADE', 'SET DEFAULT', or 'SET NULL'). |
| 663 |
" |
| 664 |
|
| 665 |
"RIGHTS","GRANTEETYPE"," |
| 666 |
'USER' if grantee is a user, 'ROLE' if grantee is a role. |
| 667 |
" |
| 668 |
|
| 669 |
"RIGHTS","GRANTEDROLE"," |
| 670 |
The name of the granted role for role grants. |
| 671 |
" |
| 672 |
|
| 673 |
"RIGHTS","RIGHTS"," |
| 674 |
The set of rights ('SELECT', 'DELETE', 'INSERT', 'UPDATE', or 'ALTER ANY SCHEMA' separated with ', ') for table grants. |
| 675 |
" |
| 676 |
|
| 677 |
"ROLES","ROLE_NAME"," |
| 678 |
The name of the role. |
| 679 |
" |
| 680 |
|
| 681 |
"ROUTINES","ROUTINE_CATALOG"," |
| 682 |
The catalog (database name). |
| 683 |
" |
| 684 |
|
| 685 |
"ROUTINES","ROUTINE_SCHEMA"," |
| 686 |
The schema of the routine. |
| 687 |
" |
| 688 |
|
| 689 |
"ROUTINES","ROUTINE_NAME"," |
| 690 |
The name of the routine. |
| 691 |
" |
| 692 |
|
| 693 |
"ROUTINES","ROUTINE_TYPE"," |
| 694 |
'PROCEDURE', 'FUNCTION', or 'AGGREGATE'. |
| 695 |
" |
| 696 |
|
| 697 |
"ROUTINES","ROUTINE_BODY"," |
| 698 |
'EXTERNAL'. |
| 699 |
" |
| 700 |
|
| 701 |
"ROUTINES","ROUTINE_DEFINITION"," |
| 702 |
Source code or NULL if not applicable or user doesn't have ADMIN privileges. |
| 703 |
" |
| 704 |
|
| 705 |
"ROUTINES","EXTERNAL_NAME"," |
| 706 |
The name of the class or method. |
| 707 |
" |
| 708 |
|
| 709 |
"ROUTINES","EXTERNAL_LANGUAGE"," |
| 710 |
'JAVA'. |
| 711 |
" |
| 712 |
|
| 713 |
"ROUTINES","PARAMETER_STYLE"," |
| 714 |
'GENERAL'. |
| 715 |
" |
| 716 |
|
| 717 |
"ROUTINES","IS_DETERMINISTIC"," |
| 718 |
Whether routine is deterministic ('YES' or 'NO'). |
| 719 |
" |
| 720 |
|
| 721 |
"SCHEMATA","CATALOG_NAME"," |
| 722 |
The catalog (database name). |
| 723 |
" |
| 724 |
|
| 725 |
"SCHEMATA","SCHEMA_NAME"," |
| 726 |
The schema name. |
| 727 |
" |
| 728 |
|
| 729 |
"SCHEMATA","SCHEMA_OWNER"," |
| 730 |
The name of schema owner. |
| 731 |
" |
| 732 |
|
| 733 |
"SCHEMATA","DEFAULT_CHARACTER_SET_CATALOG"," |
| 734 |
The catalog (database name). |
| 735 |
" |
| 736 |
|
| 737 |
"SCHEMATA","DEFAULT_CHARACTER_SET_SCHEMA"," |
| 738 |
The name of public schema. |
| 739 |
" |
| 740 |
|
| 741 |
"SCHEMATA","DEFAULT_CHARACTER_SET_NAME"," |
| 742 |
'Unicode'. |
| 743 |
" |
| 744 |
|
| 745 |
"SCHEMATA","SQL_PATH"," |
| 746 |
NULL. |
| 747 |
" |
| 748 |
|
| 749 |
"SCHEMATA","DEFAULT_COLLATION_NAME"," |
| 750 |
The name of database collation. |
| 751 |
" |
| 752 |
|
| 753 |
"SEQUENCES","SEQUENCE_CATALOG"," |
| 754 |
The catalog (database name). |
| 755 |
" |
| 756 |
|
| 757 |
"SEQUENCES","SEQUENCE_SCHEMA"," |
| 758 |
The schema of the sequence. |
| 759 |
" |
| 760 |
|
| 761 |
"SEQUENCES","SEQUENCE_NAME"," |
| 762 |
The name of the sequence. |
| 763 |
" |
| 764 |
|
| 765 |
"SEQUENCES","START_VALUE"," |
| 766 |
The initial start value. |
| 767 |
" |
| 768 |
|
| 769 |
"SEQUENCES","MINIMUM_VALUE"," |
| 770 |
The minimum value. |
| 771 |
" |
| 772 |
|
| 773 |
"SEQUENCES","MAXIMUM_VALUE"," |
| 774 |
The maximum value. |
| 775 |
" |
| 776 |
|
| 777 |
"SEQUENCES","INCREMENT"," |
| 778 |
The increment value. |
| 779 |
" |
| 780 |
|
| 781 |
"SEQUENCES","CYCLE_OPTION"," |
| 782 |
Whether values are cycled ('YES' or 'NO'). |
| 783 |
" |
| 784 |
|
| 785 |
"SEQUENCES","BASE_VALUE"," |
| 786 |
The current base value. |
| 787 |
" |
| 788 |
|
| 789 |
"SEQUENCES","CACHE"," |
| 790 |
The cache size. |
| 791 |
" |
| 792 |
|
| 793 |
"SESSIONS","USER_NAME"," |
| 794 |
The name of the user. |
| 795 |
" |
| 796 |
|
| 797 |
"SESSIONS","SERVER"," |
| 798 |
The name of the server used by remote connection. |
| 799 |
" |
| 800 |
|
| 801 |
"SESSIONS","CLIENT_ADDR"," |
| 802 |
The client address and port used by remote connection. |
| 803 |
" |
| 804 |
|
| 805 |
"SESSIONS","CLIENT_INFO"," |
| 806 |
Additional client information provided by remote connection. |
| 807 |
" |
| 808 |
|
| 809 |
"SESSIONS","SESSION_START"," |
| 810 |
When this session was started. |
| 811 |
" |
| 812 |
|
| 813 |
"SESSIONS","ISOLATION_LEVEL"," |
| 814 |
The isolation level of the session ('READ UNCOMMITTED', 'READ COMMITTED', 'REPEATABLE READ', 'SNAPSHOT', |
| 815 |
or 'SERIALIZABLE'). |
| 816 |
" |
| 817 |
|
| 818 |
"SESSIONS","EXECUTING_STATEMENT"," |
| 819 |
The currently executing statement, if any. |
| 820 |
" |
| 821 |
|
| 822 |
"SESSIONS","EXECUTING_STATEMENT_START"," |
| 823 |
When the current command was started, if any. |
| 824 |
" |
| 825 |
|
| 826 |
"SESSIONS","CONTAINS_UNCOMMITTED"," |
| 827 |
Whether the session contains any uncommitted changes. |
| 828 |
" |
| 829 |
|
| 830 |
"SESSIONS","SESSION_STATE"," |
| 831 |
The state of the session ('RUNNING', 'SLEEP', etc.) |
| 832 |
" |
| 833 |
|
| 834 |
"SESSIONS","BLOCKER_ID"," |
| 835 |
The identifier or blocking session, if any. |
| 836 |
" |
| 837 |
|
| 838 |
"SESSIONS","SLEEP_SINCE"," |
| 839 |
When the last command was finished if session is sleeping. |
| 840 |
" |
| 841 |
|
| 842 |
"SESSION_STATE","STATE_KEY"," |
| 843 |
The key. |
| 844 |
" |
| 845 |
|
| 846 |
"SESSION_STATE","STATE_COMMAND"," |
| 847 |
The SQL command that can be used to restore the state. |
| 848 |
" |
| 849 |
|
| 850 |
"SETTINGS","SETTING_NAME"," |
| 851 |
The name of the setting. |
| 852 |
" |
| 853 |
|
| 854 |
"SETTINGS","SETTING_VALUE"," |
| 855 |
The value of the setting. |
| 856 |
" |
| 857 |
|
| 858 |
"SYNONYMS","SYNONYM_CATALOG"," |
| 859 |
The catalog (database name). |
| 860 |
" |
| 861 |
|
| 862 |
"SYNONYMS","SYNONYM_SCHEMA"," |
| 863 |
The schema of the synonym. |
| 864 |
" |
| 865 |
|
| 866 |
"SYNONYMS","SYNONYM_NAME"," |
| 867 |
The name of the synonym. |
| 868 |
" |
| 869 |
|
| 870 |
"SYNONYMS","SYNONYM_FOR"," |
| 871 |
The name of the referenced table. |
| 872 |
" |
| 873 |
|
| 874 |
"SYNONYMS","SYNONYM_FOR_SCHEMA"," |
| 875 |
The name of the referenced schema. |
| 876 |
" |
| 877 |
|
| 878 |
"SYNONYMS","TYPE_NAME"," |
| 879 |
'SYNONYM'. |
| 880 |
" |
| 881 |
|
| 882 |
"SYNONYMS","STATUS"," |
| 883 |
'VALID'. |
| 884 |
" |
| 885 |
|
| 886 |
"TABLES","TABLE_TYPE"," |
| 887 |
'BASE TABLE', 'VIEW', 'GLOBAL TEMPORARY', or 'LOCAL TEMPORARY'. |
| 888 |
" |
| 889 |
|
| 890 |
"TABLES","IS_INSERTABLE_INTO"," |
| 891 |
Whether the table is insertable ('YES' or 'NO'). |
| 892 |
" |
| 893 |
|
| 894 |
"TABLES","COMMIT_ACTION"," |
| 895 |
'DELETE', 'DROP', or 'PRESERVE' for temporary tables. |
| 896 |
" |
| 897 |
|
| 898 |
"TABLES","STORAGE_TYPE"," |
| 899 |
'CACHED' for regular persisted tables, 'MEMORY' for in-memory tables or persisted tables with in-memory indexes, |
| 900 |
'GLOBAL TEMPORARY' or 'LOCAL TEMPORARY' for temporary tables, 'EXTERNAL' for tables with external table engines, |
| 901 |
or 'TABLE LINK' for linked tables. |
| 902 |
" |
| 903 |
|
| 904 |
"TABLES","LAST_MODIFICATION"," |
| 905 |
The sequence number of the last modification, if applicable. |
| 906 |
" |
| 907 |
|
| 908 |
"TABLES","TABLE_CLASS"," |
| 909 |
The Java class name of implementation. |
| 910 |
" |
| 911 |
|
| 912 |
"TABLES","ROW_COUNT_ESTIMATE"," |
| 913 |
The approximate number of rows if known or some default value if unknown. |
| 914 |
For regular tables contains the total number of rows including the uncommitted rows. |
| 915 |
" |
| 916 |
|
| 917 |
"TABLE_CONSTRAINTS","CONSTRAINT_TYPE"," |
| 918 |
'CHECK', 'PRIMARY KEY', 'UNIQUE', or 'REFERENTIAL'. |
| 919 |
" |
| 920 |
|
| 921 |
"TABLE_CONSTRAINTS","IS_DEFERRABLE"," |
| 922 |
'NO'. |
| 923 |
" |
| 924 |
|
| 925 |
"TABLE_CONSTRAINTS","INITIALLY_DEFERRED"," |
| 926 |
'NO'. |
| 927 |
" |
| 928 |
|
| 929 |
"TABLE_CONSTRAINTS","ENFORCED"," |
| 930 |
'YES' for non-referential constants. |
| 931 |
'YES' for referential constants when checks for referential integrity are enabled for the both referenced and |
| 932 |
referencing tables and 'NO' when they are disabled. |
| 933 |
" |
| 934 |
|
| 935 |
"TABLE_CONSTRAINTS","NULLS_DISTINCT"," |
| 936 |
'YES' for unique constraints with distinct null values, |
| 937 |
'NO' for unique constraints with not distinct null values, |
| 938 |
'ALL' for multi-column unique constraints where only rows with null values in all unique columns are distinct, |
| 939 |
NULL for other types of constraints. |
| 940 |
" |
| 941 |
|
| 942 |
"TABLE_PRIVILEGES","WITH_HIERARCHY"," |
| 943 |
'NO'. |
| 944 |
" |
| 945 |
|
| 946 |
"TRIGGERS","TRIGGER_CATALOG"," |
| 947 |
The catalog (database name). |
| 948 |
" |
| 949 |
|
| 950 |
"TRIGGERS","TRIGGER_SCHEMA"," |
| 951 |
The schema of the trigger. |
| 952 |
" |
| 953 |
|
| 954 |
"TRIGGERS","TRIGGER_NAME"," |
| 955 |
The name of the trigger. |
| 956 |
" |
| 957 |
|
| 958 |
"TRIGGERS","EVENT_MANIPULATION"," |
| 959 |
'INSERT', 'UPDATE', 'DELETE', or 'SELECT'. |
| 960 |
" |
| 961 |
|
| 962 |
"TRIGGERS","EVENT_OBJECT_CATALOG"," |
| 963 |
The catalog (database name). |
| 964 |
" |
| 965 |
|
| 966 |
"TRIGGERS","EVENT_OBJECT_SCHEMA"," |
| 967 |
The schema of the table. |
| 968 |
" |
| 969 |
|
| 970 |
"TRIGGERS","EVENT_OBJECT_TABLE"," |
| 971 |
The name of the table. |
| 972 |
" |
| 973 |
|
| 974 |
"TRIGGERS","ACTION_ORIENTATION"," |
| 975 |
'ROW' or 'STATEMENT'. |
| 976 |
" |
| 977 |
|
| 978 |
"TRIGGERS","ACTION_TIMING"," |
| 979 |
'BEFORE', 'AFTER', or 'INSTEAD OF'. |
| 980 |
" |
| 981 |
|
| 982 |
"TRIGGERS","IS_ROLLBACK"," |
| 983 |
Whether this trigger is executed on rollback. |
| 984 |
" |
| 985 |
|
| 986 |
"TRIGGERS","JAVA_CLASS"," |
| 987 |
The Java class name. |
| 988 |
" |
| 989 |
|
| 990 |
"TRIGGERS","QUEUE_SIZE"," |
| 991 |
The size of the queue (is not actually used). |
| 992 |
" |
| 993 |
|
| 994 |
"TRIGGERS","NO_WAIT"," |
| 995 |
Whether trigger is defined with NO WAIT clause (is not actually used). |
| 996 |
" |
| 997 |
|
| 998 |
"USERS","USER_NAME"," |
| 999 |
The name of the user. |
| 1000 |
" |
| 1001 |
|
| 1002 |
"USERS","IS_ADMIN"," |
| 1003 |
Whether user has ADMIN privileges. |
| 1004 |
" |
| 1005 |
|
| 1006 |
"VIEWS","VIEW_DEFINITION"," |
| 1007 |
The query SQL, if applicable. |
| 1008 |
" |
| 1009 |
|
| 1010 |
"VIEWS","CHECK_OPTION"," |
| 1011 |
'NONE'. |
| 1012 |
" |
| 1013 |
|
| 1014 |
"VIEWS","IS_UPDATABLE"," |
| 1015 |
'NO'. |
| 1016 |
" |
| 1017 |
|
| 1018 |
"VIEWS","INSERTABLE_INTO"," |
| 1019 |
'NO'. |
| 1020 |
" |
| 1021 |
|
| 1022 |
"VIEWS","IS_TRIGGER_UPDATABLE"," |
| 1023 |
Whether the view has INSTEAD OF trigger for UPDATE ('YES' or 'NO'). |
| 1024 |
" |
| 1025 |
|
| 1026 |
"VIEWS","IS_TRIGGER_DELETABLE"," |
| 1027 |
Whether the view has INSTEAD OF trigger for DELETE ('YES' or 'NO'). |
| 1028 |
" |
| 1029 |
|
| 1030 |
"VIEWS","IS_TRIGGER_INSERTABLE_INTO"," |
| 1031 |
Whether the view has INSTEAD OF trigger for INSERT ('YES' or 'NO'). |
| 1032 |
" |
| 1033 |
|
| 1034 |
"VIEWS","STATUS"," |
| 1035 |
'VALID' or 'INVALID'. |
| 1036 |
" |