ibm_db 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +4 -0
- data/README +1 -1
- data/ext/Makefile.nt32 +181 -0
- data/ext/extconf.rb +55 -55
- data/ext/ibm_db.c +6367 -6367
- data/ext/ruby_ibm_db.h +179 -179
- data/lib/active_record/vendor/db2-i5-zOS.yaml +328 -328
- data/test/adapter_test.rb +131 -131
- data/test/associations/eager_test.rb +445 -445
- data/test/associations_test.rb +1839 -1839
- data/test/fixtures/db_definitions/i5/ibm_db.drop.sql +32 -32
- data/test/fixtures/db_definitions/i5/ibm_db.sql +232 -232
- data/test/fixtures/db_definitions/i5/ibm_db2.drop.sql +2 -2
- data/test/fixtures/db_definitions/i5/ibm_db2.sql +5 -5
- data/test/fixtures/db_definitions/zOS/ibm_db.drop.sql +32 -32
- data/test/fixtures/db_definitions/zOS/ibm_db.sql +284 -284
- data/test/fixtures/db_definitions/zOS/ibm_db2.drop.sql +2 -2
- data/test/fixtures/db_definitions/zOS/ibm_db2.sql +7 -7
- metadata +36 -35
data/ext/ruby_ibm_db.h
CHANGED
@@ -1,179 +1,179 @@
|
|
1
|
-
/*
|
2
|
-
+----------------------------------------------------------------------+
|
3
|
-
| Licensed Materials - Property of IBM |
|
4
|
-
| |
|
5
|
-
| (C) Copyright IBM Corporation 2006, 2007. |
|
6
|
-
+----------------------------------------------------------------------+
|
7
|
-
| Authors: Sushant Koduru, Lynh Nguyen, Kanchana Padmanabhan, |
|
8
|
-
| Dan Scott, Helmut Tessarek, Kellen Bombardier, Sam Ruby |
|
9
|
-
+----------------------------------------------------------------------+
|
10
|
-
*/
|
11
|
-
|
12
|
-
#ifndef RUBY_IBM_DB_H
|
13
|
-
#define RUBY_IBM_DB_H
|
14
|
-
|
15
|
-
#include <stdio.h>
|
16
|
-
#include <string.h>
|
17
|
-
#include <stdlib.h>
|
18
|
-
#include <sqlcli1.h>
|
19
|
-
|
20
|
-
#ifndef SQL_XML
|
21
|
-
#define SQL_XML -370
|
22
|
-
#endif
|
23
|
-
|
24
|
-
#ifndef SQL_ATTR_REPLACE_QUOTED_LITERALS
|
25
|
-
#define SQL_ATTR_REPLACE_QUOTED_LITERALS 2586
|
26
|
-
#endif
|
27
|
-
|
28
|
-
/* CLI v9.1 FP3 and below has a SQL_ATTR_REPLACE_QUOTED_LITERALS value of 116
|
29
|
-
* We need to support both the new and old values for compatibility with older
|
30
|
-
* versions of CLI. CLI v9.1 FP4 and beyond changed this value to 2586
|
31
|
-
*/
|
32
|
-
#define SQL_ATTR_REPLACE_QUOTED_LITERALS_OLDVALUE 116
|
33
|
-
|
34
|
-
/* If using a DB2 CLI version which doesn't support this functionality, explicitly
|
35
|
-
* define this. We will rely on DB2 CLI to throw an error when SQLGetStmtAttr is
|
36
|
-
* called.
|
37
|
-
*/
|
38
|
-
#ifndef SQL_ATTR_GET_GENERATED_VALUE
|
39
|
-
#define SQL_ATTR_GET_GENERATED_VALUE 2578
|
40
|
-
#endif
|
41
|
-
|
42
|
-
#ifdef _WIN32
|
43
|
-
#define RUBY_IBM_DB_API __declspec(dllexport)
|
44
|
-
#else
|
45
|
-
#define RUBY_IBM_DB_API
|
46
|
-
#endif
|
47
|
-
|
48
|
-
/* strlen(" SQLCODE=") added in */
|
49
|
-
#define DB2_MAX_ERR_MSG_LEN (SQL_MAX_MESSAGE_LENGTH + SQL_SQLSTATE_SIZE + 10)
|
50
|
-
|
51
|
-
/* Used in _ruby_parse_options */
|
52
|
-
#define DB2_ERRMSG 1
|
53
|
-
#define DB2_ERR 2
|
54
|
-
|
55
|
-
/* DB2 instance environment variable */
|
56
|
-
#define DB2_VAR_INSTANCE "DB2INSTANCE="
|
57
|
-
|
58
|
-
/******** Makes code compatible with the options used by the user */
|
59
|
-
#define BINARY 1
|
60
|
-
#define CONVERT 2
|
61
|
-
#define PASSTHRU 3
|
62
|
-
#define PARAM_FILE 11
|
63
|
-
|
64
|
-
#ifdef PASE
|
65
|
-
#define SQL_IS_INTEGER 0
|
66
|
-
#define SQL_BEST_ROWID 0
|
67
|
-
#define SQLLEN long
|
68
|
-
#define SQLFLOAT double
|
69
|
-
#endif
|
70
|
-
|
71
|
-
/*fetch*/
|
72
|
-
#define FETCH_INDEX 0x01
|
73
|
-
#define FETCH_ASSOC 0x02
|
74
|
-
#define FETCH_BOTH 0x03
|
75
|
-
|
76
|
-
/* Change column case */
|
77
|
-
#define ATTR_CASE 3271982
|
78
|
-
#define CASE_NATURAL 0
|
79
|
-
#define CASE_LOWER 1
|
80
|
-
#define CASE_UPPER 2
|
81
|
-
|
82
|
-
/* maximum sizes */
|
83
|
-
#define USERID_LEN 16
|
84
|
-
#define ACCTSTR_LEN 200
|
85
|
-
#define APPLNAME_LEN 32
|
86
|
-
#define WRKSTNNAME_LEN 18
|
87
|
-
|
88
|
-
void Init_ibm_db();
|
89
|
-
|
90
|
-
VALUE ibm_db_connect(int argc, VALUE *argv, VALUE self);
|
91
|
-
VALUE ibm_db_commit(int argc, VALUE *argv, VALUE self);
|
92
|
-
VALUE ibm_db_pconnect(int argc, VALUE *argv, VALUE self);
|
93
|
-
VALUE ibm_db_autocommit(int argc, VALUE *argv, VALUE self);
|
94
|
-
VALUE ibm_db_bind_param(int argc, VALUE *argv, VALUE self);
|
95
|
-
VALUE ibm_db_close(int argc, VALUE *argv, VALUE self);
|
96
|
-
VALUE ibm_db_columnprivileges(int argc, VALUE *argv, VALUE self);
|
97
|
-
VALUE ibm_db_column_privileges(int argc, VALUE *argv, VALUE self);
|
98
|
-
VALUE ibm_db_columns(int argc, VALUE *argv, VALUE self);
|
99
|
-
VALUE ibm_db_foreignkeys(int argc, VALUE *argv, VALUE self);
|
100
|
-
VALUE ibm_db_foreign_keys(int argc, VALUE *argv, VALUE self);
|
101
|
-
VALUE ibm_db_primarykeys(int argc, VALUE *argv, VALUE self);
|
102
|
-
VALUE ibm_db_primary_keys(int argc, VALUE *argv, VALUE self);
|
103
|
-
VALUE ibm_db_procedure_columns(int argc, VALUE *argv, VALUE self);
|
104
|
-
VALUE ibm_db_procedures(int argc, VALUE *argv, VALUE self);
|
105
|
-
VALUE ibm_db_specialcolumns(int argc, VALUE *argv, VALUE self);
|
106
|
-
VALUE ibm_db_special_columns(int argc, VALUE *argv, VALUE self);
|
107
|
-
VALUE ibm_db_statistics(int argc, VALUE *argv, VALUE self);
|
108
|
-
VALUE ibm_db_tableprivileges(int argc, VALUE *argv, VALUE self);
|
109
|
-
VALUE ibm_db_table_privileges(int argc, VALUE *argv, VALUE self);
|
110
|
-
VALUE ibm_db_tables(int argc, VALUE *argv, VALUE self);
|
111
|
-
VALUE ibm_db_commit(int argc, VALUE *argv, VALUE self);
|
112
|
-
VALUE ibm_db_exec(int argc, VALUE *argv, VALUE self);
|
113
|
-
VALUE ibm_db_prepare(int argc, VALUE *argv, VALUE self);
|
114
|
-
VALUE ibm_db_execute(int argc, VALUE *argv, VALUE self);
|
115
|
-
VALUE ibm_db_conn_errormsg(int argc, VALUE *argv, VALUE self);
|
116
|
-
VALUE ibm_db_stmt_errormsg(int argc, VALUE *argv, VALUE self);
|
117
|
-
VALUE ibm_db_conn_error(int argc, VALUE *argv, VALUE self);
|
118
|
-
VALUE ibm_db_stmt_error(int argc, VALUE *argv, VALUE self);
|
119
|
-
VALUE ibm_db_next_result(int argc, VALUE *argv, VALUE self);
|
120
|
-
VALUE ibm_db_num_fields(int argc, VALUE *argv, VALUE self);
|
121
|
-
VALUE ibm_db_num_rows(int argc, VALUE *argv, VALUE self);
|
122
|
-
VALUE ibm_db_field_name(int argc, VALUE *argv, VALUE self);
|
123
|
-
VALUE ibm_db_field_display_size(int argc, VALUE *argv, VALUE self);
|
124
|
-
VALUE ibm_db_field_num(int argc, VALUE *argv, VALUE self);
|
125
|
-
VALUE ibm_db_field_precision(int argc, VALUE *argv, VALUE self);
|
126
|
-
VALUE ibm_db_field_scale(int argc, VALUE *argv, VALUE self);
|
127
|
-
VALUE ibm_db_field_type(int argc, VALUE *argv, VALUE self);
|
128
|
-
VALUE ibm_db_field_width(int argc, VALUE *argv, VALUE self);
|
129
|
-
VALUE ibm_db_cursor_type(int argc, VALUE *argv, VALUE self);
|
130
|
-
VALUE ibm_db_rollback(int argc, VALUE *argv, VALUE self);
|
131
|
-
VALUE ibm_db_free_stmt(int argc, VALUE *argv, VALUE self);
|
132
|
-
VALUE ibm_db_result(int argc, VALUE *argv, VALUE self);
|
133
|
-
VALUE ibm_db_fetch_row(int argc, VALUE *argv, VALUE self);
|
134
|
-
VALUE ibm_db_fetch_assoc(int argc, VALUE *argv, VALUE self);
|
135
|
-
VALUE ibm_db_fetch_array(int argc, VALUE *argv, VALUE self);
|
136
|
-
VALUE ibm_db_fetch_both(int argc, VALUE *argv, VALUE self);
|
137
|
-
VALUE ibm_db_result_all(int argc, VALUE *argv, VALUE self);
|
138
|
-
VALUE ibm_db_free_result(int argc, VALUE *argv, VALUE self);
|
139
|
-
VALUE ibm_db_set_option(int argc, VALUE *argv, VALUE self);
|
140
|
-
VALUE ibm_db_setoption(int argc, VALUE *argv, VALUE self);
|
141
|
-
VALUE ibm_db_get_option(int argc, VALUE *argv, VALUE self);
|
142
|
-
VALUE ibm_db_get_last_serial_value(int argc, VALUE *argv, VALUE self);
|
143
|
-
VALUE ibm_db_getoption(int argc, VALUE *argv, VALUE self);
|
144
|
-
VALUE ibm_db_fetch_object(int argc, VALUE *argv, VALUE self);
|
145
|
-
VALUE ibm_db_server_info(int argc, VALUE *argv, VALUE self);
|
146
|
-
VALUE ibm_db_client_info(int argc, VALUE *argv, VALUE self);
|
147
|
-
VALUE ibm_db_active(int argc, VALUE *argv, VALUE self);
|
148
|
-
|
149
|
-
/*
|
150
|
-
Declare any global variables you may need between the BEGIN
|
151
|
-
and END macros here:
|
152
|
-
*/
|
153
|
-
struct _ibm_db_globals {
|
154
|
-
int bin_mode;
|
155
|
-
char __ruby_conn_err_msg[DB2_MAX_ERR_MSG_LEN];
|
156
|
-
char __ruby_conn_err_state[SQL_SQLSTATE_SIZE + 1];
|
157
|
-
char __ruby_stmt_err_msg[DB2_MAX_ERR_MSG_LEN];
|
158
|
-
char __ruby_stmt_err_state[SQL_SQLSTATE_SIZE + 1];
|
159
|
-
#ifdef PASE /* i5/OS ease of use turn off commit */
|
160
|
-
long i5_allow_commit;
|
161
|
-
#endif /* PASE */
|
162
|
-
};
|
163
|
-
|
164
|
-
/*
|
165
|
-
TODO: make this threadsafe
|
166
|
-
*/
|
167
|
-
|
168
|
-
#define IBM_DB_G(v) (ibm_db_globals->v)
|
169
|
-
|
170
|
-
#endif /* RUBY_IBM_DB_H */
|
171
|
-
|
172
|
-
|
173
|
-
/*
|
174
|
-
* Local variables:
|
175
|
-
* tab-width: 4
|
176
|
-
* c-basic-offset: 4
|
177
|
-
* indent-tabs-mode: t
|
178
|
-
* End:
|
179
|
-
*/
|
1
|
+
/*
|
2
|
+
+----------------------------------------------------------------------+
|
3
|
+
| Licensed Materials - Property of IBM |
|
4
|
+
| |
|
5
|
+
| (C) Copyright IBM Corporation 2006, 2007. |
|
6
|
+
+----------------------------------------------------------------------+
|
7
|
+
| Authors: Sushant Koduru, Lynh Nguyen, Kanchana Padmanabhan, |
|
8
|
+
| Dan Scott, Helmut Tessarek, Kellen Bombardier, Sam Ruby |
|
9
|
+
+----------------------------------------------------------------------+
|
10
|
+
*/
|
11
|
+
|
12
|
+
#ifndef RUBY_IBM_DB_H
|
13
|
+
#define RUBY_IBM_DB_H
|
14
|
+
|
15
|
+
#include <stdio.h>
|
16
|
+
#include <string.h>
|
17
|
+
#include <stdlib.h>
|
18
|
+
#include <sqlcli1.h>
|
19
|
+
|
20
|
+
#ifndef SQL_XML
|
21
|
+
#define SQL_XML -370
|
22
|
+
#endif
|
23
|
+
|
24
|
+
#ifndef SQL_ATTR_REPLACE_QUOTED_LITERALS
|
25
|
+
#define SQL_ATTR_REPLACE_QUOTED_LITERALS 2586
|
26
|
+
#endif
|
27
|
+
|
28
|
+
/* CLI v9.1 FP3 and below has a SQL_ATTR_REPLACE_QUOTED_LITERALS value of 116
|
29
|
+
* We need to support both the new and old values for compatibility with older
|
30
|
+
* versions of CLI. CLI v9.1 FP4 and beyond changed this value to 2586
|
31
|
+
*/
|
32
|
+
#define SQL_ATTR_REPLACE_QUOTED_LITERALS_OLDVALUE 116
|
33
|
+
|
34
|
+
/* If using a DB2 CLI version which doesn't support this functionality, explicitly
|
35
|
+
* define this. We will rely on DB2 CLI to throw an error when SQLGetStmtAttr is
|
36
|
+
* called.
|
37
|
+
*/
|
38
|
+
#ifndef SQL_ATTR_GET_GENERATED_VALUE
|
39
|
+
#define SQL_ATTR_GET_GENERATED_VALUE 2578
|
40
|
+
#endif
|
41
|
+
|
42
|
+
#ifdef _WIN32
|
43
|
+
#define RUBY_IBM_DB_API __declspec(dllexport)
|
44
|
+
#else
|
45
|
+
#define RUBY_IBM_DB_API
|
46
|
+
#endif
|
47
|
+
|
48
|
+
/* strlen(" SQLCODE=") added in */
|
49
|
+
#define DB2_MAX_ERR_MSG_LEN (SQL_MAX_MESSAGE_LENGTH + SQL_SQLSTATE_SIZE + 10)
|
50
|
+
|
51
|
+
/* Used in _ruby_parse_options */
|
52
|
+
#define DB2_ERRMSG 1
|
53
|
+
#define DB2_ERR 2
|
54
|
+
|
55
|
+
/* DB2 instance environment variable */
|
56
|
+
#define DB2_VAR_INSTANCE "DB2INSTANCE="
|
57
|
+
|
58
|
+
/******** Makes code compatible with the options used by the user */
|
59
|
+
#define BINARY 1
|
60
|
+
#define CONVERT 2
|
61
|
+
#define PASSTHRU 3
|
62
|
+
#define PARAM_FILE 11
|
63
|
+
|
64
|
+
#ifdef PASE
|
65
|
+
#define SQL_IS_INTEGER 0
|
66
|
+
#define SQL_BEST_ROWID 0
|
67
|
+
#define SQLLEN long
|
68
|
+
#define SQLFLOAT double
|
69
|
+
#endif
|
70
|
+
|
71
|
+
/*fetch*/
|
72
|
+
#define FETCH_INDEX 0x01
|
73
|
+
#define FETCH_ASSOC 0x02
|
74
|
+
#define FETCH_BOTH 0x03
|
75
|
+
|
76
|
+
/* Change column case */
|
77
|
+
#define ATTR_CASE 3271982
|
78
|
+
#define CASE_NATURAL 0
|
79
|
+
#define CASE_LOWER 1
|
80
|
+
#define CASE_UPPER 2
|
81
|
+
|
82
|
+
/* maximum sizes */
|
83
|
+
#define USERID_LEN 16
|
84
|
+
#define ACCTSTR_LEN 200
|
85
|
+
#define APPLNAME_LEN 32
|
86
|
+
#define WRKSTNNAME_LEN 18
|
87
|
+
|
88
|
+
void Init_ibm_db();
|
89
|
+
|
90
|
+
VALUE ibm_db_connect(int argc, VALUE *argv, VALUE self);
|
91
|
+
VALUE ibm_db_commit(int argc, VALUE *argv, VALUE self);
|
92
|
+
VALUE ibm_db_pconnect(int argc, VALUE *argv, VALUE self);
|
93
|
+
VALUE ibm_db_autocommit(int argc, VALUE *argv, VALUE self);
|
94
|
+
VALUE ibm_db_bind_param(int argc, VALUE *argv, VALUE self);
|
95
|
+
VALUE ibm_db_close(int argc, VALUE *argv, VALUE self);
|
96
|
+
VALUE ibm_db_columnprivileges(int argc, VALUE *argv, VALUE self);
|
97
|
+
VALUE ibm_db_column_privileges(int argc, VALUE *argv, VALUE self);
|
98
|
+
VALUE ibm_db_columns(int argc, VALUE *argv, VALUE self);
|
99
|
+
VALUE ibm_db_foreignkeys(int argc, VALUE *argv, VALUE self);
|
100
|
+
VALUE ibm_db_foreign_keys(int argc, VALUE *argv, VALUE self);
|
101
|
+
VALUE ibm_db_primarykeys(int argc, VALUE *argv, VALUE self);
|
102
|
+
VALUE ibm_db_primary_keys(int argc, VALUE *argv, VALUE self);
|
103
|
+
VALUE ibm_db_procedure_columns(int argc, VALUE *argv, VALUE self);
|
104
|
+
VALUE ibm_db_procedures(int argc, VALUE *argv, VALUE self);
|
105
|
+
VALUE ibm_db_specialcolumns(int argc, VALUE *argv, VALUE self);
|
106
|
+
VALUE ibm_db_special_columns(int argc, VALUE *argv, VALUE self);
|
107
|
+
VALUE ibm_db_statistics(int argc, VALUE *argv, VALUE self);
|
108
|
+
VALUE ibm_db_tableprivileges(int argc, VALUE *argv, VALUE self);
|
109
|
+
VALUE ibm_db_table_privileges(int argc, VALUE *argv, VALUE self);
|
110
|
+
VALUE ibm_db_tables(int argc, VALUE *argv, VALUE self);
|
111
|
+
VALUE ibm_db_commit(int argc, VALUE *argv, VALUE self);
|
112
|
+
VALUE ibm_db_exec(int argc, VALUE *argv, VALUE self);
|
113
|
+
VALUE ibm_db_prepare(int argc, VALUE *argv, VALUE self);
|
114
|
+
VALUE ibm_db_execute(int argc, VALUE *argv, VALUE self);
|
115
|
+
VALUE ibm_db_conn_errormsg(int argc, VALUE *argv, VALUE self);
|
116
|
+
VALUE ibm_db_stmt_errormsg(int argc, VALUE *argv, VALUE self);
|
117
|
+
VALUE ibm_db_conn_error(int argc, VALUE *argv, VALUE self);
|
118
|
+
VALUE ibm_db_stmt_error(int argc, VALUE *argv, VALUE self);
|
119
|
+
VALUE ibm_db_next_result(int argc, VALUE *argv, VALUE self);
|
120
|
+
VALUE ibm_db_num_fields(int argc, VALUE *argv, VALUE self);
|
121
|
+
VALUE ibm_db_num_rows(int argc, VALUE *argv, VALUE self);
|
122
|
+
VALUE ibm_db_field_name(int argc, VALUE *argv, VALUE self);
|
123
|
+
VALUE ibm_db_field_display_size(int argc, VALUE *argv, VALUE self);
|
124
|
+
VALUE ibm_db_field_num(int argc, VALUE *argv, VALUE self);
|
125
|
+
VALUE ibm_db_field_precision(int argc, VALUE *argv, VALUE self);
|
126
|
+
VALUE ibm_db_field_scale(int argc, VALUE *argv, VALUE self);
|
127
|
+
VALUE ibm_db_field_type(int argc, VALUE *argv, VALUE self);
|
128
|
+
VALUE ibm_db_field_width(int argc, VALUE *argv, VALUE self);
|
129
|
+
VALUE ibm_db_cursor_type(int argc, VALUE *argv, VALUE self);
|
130
|
+
VALUE ibm_db_rollback(int argc, VALUE *argv, VALUE self);
|
131
|
+
VALUE ibm_db_free_stmt(int argc, VALUE *argv, VALUE self);
|
132
|
+
VALUE ibm_db_result(int argc, VALUE *argv, VALUE self);
|
133
|
+
VALUE ibm_db_fetch_row(int argc, VALUE *argv, VALUE self);
|
134
|
+
VALUE ibm_db_fetch_assoc(int argc, VALUE *argv, VALUE self);
|
135
|
+
VALUE ibm_db_fetch_array(int argc, VALUE *argv, VALUE self);
|
136
|
+
VALUE ibm_db_fetch_both(int argc, VALUE *argv, VALUE self);
|
137
|
+
VALUE ibm_db_result_all(int argc, VALUE *argv, VALUE self);
|
138
|
+
VALUE ibm_db_free_result(int argc, VALUE *argv, VALUE self);
|
139
|
+
VALUE ibm_db_set_option(int argc, VALUE *argv, VALUE self);
|
140
|
+
VALUE ibm_db_setoption(int argc, VALUE *argv, VALUE self);
|
141
|
+
VALUE ibm_db_get_option(int argc, VALUE *argv, VALUE self);
|
142
|
+
VALUE ibm_db_get_last_serial_value(int argc, VALUE *argv, VALUE self);
|
143
|
+
VALUE ibm_db_getoption(int argc, VALUE *argv, VALUE self);
|
144
|
+
VALUE ibm_db_fetch_object(int argc, VALUE *argv, VALUE self);
|
145
|
+
VALUE ibm_db_server_info(int argc, VALUE *argv, VALUE self);
|
146
|
+
VALUE ibm_db_client_info(int argc, VALUE *argv, VALUE self);
|
147
|
+
VALUE ibm_db_active(int argc, VALUE *argv, VALUE self);
|
148
|
+
|
149
|
+
/*
|
150
|
+
Declare any global variables you may need between the BEGIN
|
151
|
+
and END macros here:
|
152
|
+
*/
|
153
|
+
struct _ibm_db_globals {
|
154
|
+
int bin_mode;
|
155
|
+
char __ruby_conn_err_msg[DB2_MAX_ERR_MSG_LEN];
|
156
|
+
char __ruby_conn_err_state[SQL_SQLSTATE_SIZE + 1];
|
157
|
+
char __ruby_stmt_err_msg[DB2_MAX_ERR_MSG_LEN];
|
158
|
+
char __ruby_stmt_err_state[SQL_SQLSTATE_SIZE + 1];
|
159
|
+
#ifdef PASE /* i5/OS ease of use turn off commit */
|
160
|
+
long i5_allow_commit;
|
161
|
+
#endif /* PASE */
|
162
|
+
};
|
163
|
+
|
164
|
+
/*
|
165
|
+
TODO: make this threadsafe
|
166
|
+
*/
|
167
|
+
|
168
|
+
#define IBM_DB_G(v) (ibm_db_globals->v)
|
169
|
+
|
170
|
+
#endif /* RUBY_IBM_DB_H */
|
171
|
+
|
172
|
+
|
173
|
+
/*
|
174
|
+
* Local variables:
|
175
|
+
* tab-width: 4
|
176
|
+
* c-basic-offset: 4
|
177
|
+
* indent-tabs-mode: t
|
178
|
+
* End:
|
179
|
+
*/
|
@@ -1,328 +1,328 @@
|
|
1
|
-
add : ADD
|
2
|
-
after : AFTER
|
3
|
-
alias : ALIAS
|
4
|
-
all : ALL
|
5
|
-
allocate : ALLOCATE
|
6
|
-
allow : ALLOW
|
7
|
-
alter : ALTER
|
8
|
-
and : AND
|
9
|
-
any : ANY
|
10
|
-
as : AS
|
11
|
-
asensitive : ASENSITIVE
|
12
|
-
associate : ASSOCIATE
|
13
|
-
asutime : ASUTIME
|
14
|
-
audit : AUDIT
|
15
|
-
authorization : AUTHORIZATION
|
16
|
-
aux : AUX
|
17
|
-
auxiliary : AUXILIARY
|
18
|
-
before : BEFORE
|
19
|
-
begin : BEGIN
|
20
|
-
between : BETWEEN
|
21
|
-
binary : BINARY
|
22
|
-
bufferpool : BUFFERPOOL
|
23
|
-
by : BY
|
24
|
-
cache : CACHE
|
25
|
-
call : CALL
|
26
|
-
called : CALLED
|
27
|
-
cardinality : CARDINALITY
|
28
|
-
capture : CAPTURE
|
29
|
-
cascaded : CASCADED
|
30
|
-
case : CASE
|
31
|
-
cast : CAST
|
32
|
-
ccsid : CCSID
|
33
|
-
char : CHAR
|
34
|
-
character : CHARACTER
|
35
|
-
check : CHECK
|
36
|
-
close : CLOSE
|
37
|
-
cluster : CLUSTER
|
38
|
-
collection : COLLECTION
|
39
|
-
collid : COLLID
|
40
|
-
column : COLUMN
|
41
|
-
comment : COMMENT
|
42
|
-
commit : COMMIT
|
43
|
-
concat : CONCAT
|
44
|
-
condition : CONDITION
|
45
|
-
connect : CONNECT
|
46
|
-
connection : CONNECTION
|
47
|
-
constraint : CONSTRAINT
|
48
|
-
contains : CONTAINS
|
49
|
-
continue : CONTINUE
|
50
|
-
count : COUNT
|
51
|
-
count_big : COUNT_BIG
|
52
|
-
create : CREATE
|
53
|
-
cross : CROSS
|
54
|
-
current : CURRENT
|
55
|
-
current_date : CURRENT_DATE
|
56
|
-
current_lc_ctype : CURRENT_LC_CTYPE
|
57
|
-
current_path : CURRENT_PATH
|
58
|
-
current_time : CURRENT_TIME
|
59
|
-
current_timestamp : CURRENT_TIMESTAMP
|
60
|
-
current_timezone : CURRENT_TIMEZONE
|
61
|
-
current_user : CURRENT_USER
|
62
|
-
cursor : CURSOR
|
63
|
-
cycle : CYCLE
|
64
|
-
data : DATA
|
65
|
-
database : DATABASE
|
66
|
-
day : DAY
|
67
|
-
days : DAYS
|
68
|
-
dbinfo : DBINFO
|
69
|
-
db2genrl : DB2GENRL
|
70
|
-
db2sql : DB2SQL
|
71
|
-
declare : DECLARE
|
72
|
-
default : DEFAULT
|
73
|
-
defaults : DEFAULTS
|
74
|
-
definition : DEFINITION
|
75
|
-
delete : DELETE
|
76
|
-
descriptor : DESCRIPTOR
|
77
|
-
deterministic : DETERMINISTIC
|
78
|
-
disallow : DISALLOW
|
79
|
-
disconnect : DISCONNECT
|
80
|
-
distinct : DISTINCT
|
81
|
-
do : DO
|
82
|
-
double : DOUBLE
|
83
|
-
drop : DROP
|
84
|
-
dssize : DSSIZE
|
85
|
-
dynamic : DYNAMIC
|
86
|
-
each : EACH
|
87
|
-
editproc : EDITPROC
|
88
|
-
else : ELSE
|
89
|
-
elseif : ELSEIF
|
90
|
-
encoding : ENCODING
|
91
|
-
encryption : ENCRYPTION
|
92
|
-
end : END
|
93
|
-
ending : ENDING
|
94
|
-
end-exec : END-EXEC
|
95
|
-
erase : ERASE
|
96
|
-
escape : ESCAPE
|
97
|
-
except : EXCEPT
|
98
|
-
excluding : EXCLUDING
|
99
|
-
exception : EXCEPTION
|
100
|
-
execute : EXECUTE
|
101
|
-
exists : EXISTS
|
102
|
-
exit : EXIT
|
103
|
-
explain : EXPLAIN
|
104
|
-
external : EXTERNAL
|
105
|
-
fenced : FENCED
|
106
|
-
fetch : FETCH
|
107
|
-
fieldproc : FIELDPROC
|
108
|
-
file : FILE
|
109
|
-
final : FINAL
|
110
|
-
for : FOR
|
111
|
-
foreign : FOREIGN
|
112
|
-
free : FREE
|
113
|
-
from : FROM
|
114
|
-
full : FULL
|
115
|
-
function : FUNCTION
|
116
|
-
general : GENERAL
|
117
|
-
generated : GENERATED
|
118
|
-
get : GET
|
119
|
-
global : GLOBAL
|
120
|
-
go : GO
|
121
|
-
goto : GOTO
|
122
|
-
grant : GRANT
|
123
|
-
graphic : GRAPHIC
|
124
|
-
group : GROUP
|
125
|
-
handler : HANDLER
|
126
|
-
having : HAVING
|
127
|
-
hold : HOLD
|
128
|
-
hour : HOUR
|
129
|
-
hours : HOURS
|
130
|
-
identity : IDENTITY
|
131
|
-
if : IF
|
132
|
-
immediate : IMMEDIATE
|
133
|
-
in : IN
|
134
|
-
including : INCLUDING
|
135
|
-
inclusive : INCLUSIVE
|
136
|
-
increment : INCREMENT
|
137
|
-
index : INDEX
|
138
|
-
indicator : INDICATOR
|
139
|
-
inherit : INHERIT
|
140
|
-
inner : INNER
|
141
|
-
inout : INOUT
|
142
|
-
insensitive : INSENSITIVE
|
143
|
-
insert : INSERT
|
144
|
-
integrity : INTEGRITY
|
145
|
-
into : INTO
|
146
|
-
is : IS
|
147
|
-
isobid : ISOBID
|
148
|
-
isolation : ISOLATION
|
149
|
-
iterate : ITERATE
|
150
|
-
jar : JAR
|
151
|
-
java : JAVA
|
152
|
-
join : JOIN
|
153
|
-
key : KEY
|
154
|
-
label : LABEL
|
155
|
-
language : LANGUAGE
|
156
|
-
lc_ctype : LC_CTYPE
|
157
|
-
leave : LEAVE
|
158
|
-
left : LEFT
|
159
|
-
like : LIKE
|
160
|
-
linktype : LINKTYPE
|
161
|
-
local : LOCAL
|
162
|
-
locale : LOCALE
|
163
|
-
locator : LOCATOR
|
164
|
-
locators : LOCATORS
|
165
|
-
lock : LOCK
|
166
|
-
lockmax : LOCKMAX
|
167
|
-
locksize : LOCKSIZE
|
168
|
-
long : LONG
|
169
|
-
loop : LOOP
|
170
|
-
maintained : MAINTAINED
|
171
|
-
materialized : MATERIALIZED
|
172
|
-
maxvalue : MAXVALUE
|
173
|
-
microsecond : MICROSECOND
|
174
|
-
microseconds : MICROSECONDS
|
175
|
-
minute : MINUTE
|
176
|
-
minutes : MINUTES
|
177
|
-
minvalue : MINVALUE
|
178
|
-
mode : MODE
|
179
|
-
modifies : MODIFIES
|
180
|
-
month : MONTH
|
181
|
-
months : MONTHS
|
182
|
-
new : NEW
|
183
|
-
new_table : NEW_TABLE
|
184
|
-
nextval : NEXTVAL
|
185
|
-
no : NO
|
186
|
-
nocache : NOCACHE
|
187
|
-
nocycle : NOCYCLE
|
188
|
-
nodename : NODENAME
|
189
|
-
nodenumber : NODENUMBER
|
190
|
-
nomaxvalue : NOMAXVALUE
|
191
|
-
nominvalue : NOMINVALUE
|
192
|
-
none : NONE
|
193
|
-
noorder : NOORDER
|
194
|
-
not : NOT
|
195
|
-
null : NULL
|
196
|
-
nulls : NULLS
|
197
|
-
numparts : NUMPARTS
|
198
|
-
obid : OBID
|
199
|
-
of : OF
|
200
|
-
old : OLD
|
201
|
-
old_table : OLD_TABLE
|
202
|
-
on : ON
|
203
|
-
open : OPEN
|
204
|
-
optimization : OPTIMIZATION
|
205
|
-
optimize : OPTIMIZE
|
206
|
-
option : OPTION
|
207
|
-
or : OR
|
208
|
-
order : ORDER
|
209
|
-
out : OUT
|
210
|
-
outer : OUTER
|
211
|
-
overriding : OVERRIDING
|
212
|
-
package : PACKAGE
|
213
|
-
parameter : PARAMETER
|
214
|
-
part : PART
|
215
|
-
padded : PADDED
|
216
|
-
partition : PARTITION
|
217
|
-
partitioned : PARTITIONED
|
218
|
-
partitioning : PARTITIONING
|
219
|
-
path : PATH
|
220
|
-
piecesize : PIECESIZE
|
221
|
-
plan : PLAN
|
222
|
-
position : POSITION
|
223
|
-
precision : PRECISION
|
224
|
-
prepare : PREPARE
|
225
|
-
prevval : PREVVAL
|
226
|
-
primary : PRIMARY
|
227
|
-
priqty : PRIQTY
|
228
|
-
privileges : PRIVILEGES
|
229
|
-
procedure : PROCEDURE
|
230
|
-
program : PROGRAM
|
231
|
-
psid : PSID
|
232
|
-
query : QUERY
|
233
|
-
queryno : QUERYNO
|
234
|
-
read : READ
|
235
|
-
reads : READS
|
236
|
-
recovery : RECOVERY
|
237
|
-
references : REFERENCES
|
238
|
-
referencing : REFERENCING
|
239
|
-
refresh : REFRESH
|
240
|
-
resignal : RESIGNAL
|
241
|
-
release : RELEASE
|
242
|
-
rename : RENAME
|
243
|
-
repeat : REPEAT
|
244
|
-
reset : RESET
|
245
|
-
resignal : RESIGNAL
|
246
|
-
restart : RESTART
|
247
|
-
restrict : RESTRICT
|
248
|
-
result : RESULT
|
249
|
-
result_set_locator : RESULT_SET_LOCATOR
|
250
|
-
return : RETURN
|
251
|
-
returns : RETURNS
|
252
|
-
revoke : REVOKE
|
253
|
-
right : RIGHT
|
254
|
-
rollback : ROLLBACK
|
255
|
-
routine : ROUTINE
|
256
|
-
row : ROW
|
257
|
-
rows : ROWS
|
258
|
-
rowset : ROWSET
|
259
|
-
rrn : RRN
|
260
|
-
run : RUN
|
261
|
-
savepoint : SAVEPOINT
|
262
|
-
schema : SCHEMA
|
263
|
-
scratchpad : SCRATCHPAD
|
264
|
-
second : SECOND
|
265
|
-
seconds : SECONDS
|
266
|
-
secqty : SECQTY
|
267
|
-
security : SECURITY
|
268
|
-
sequence : SEQUENCE
|
269
|
-
select : SELECT
|
270
|
-
sensitive : SENSITIVE
|
271
|
-
set : SET
|
272
|
-
signal : SIGNAL
|
273
|
-
simple : SIMPLE
|
274
|
-
some : SOME
|
275
|
-
source : SOURCE
|
276
|
-
specific : SPECIFIC
|
277
|
-
sql : SQL
|
278
|
-
sqlid : SQLID
|
279
|
-
standard : STANDARD
|
280
|
-
start : START
|
281
|
-
static : STATIC
|
282
|
-
stay : STAY
|
283
|
-
stogroup : STOGROUP
|
284
|
-
stores : STORES
|
285
|
-
style : STYLE
|
286
|
-
substring : SUBSTRING
|
287
|
-
summary : SUMMARY
|
288
|
-
synonym : SYNONYM
|
289
|
-
sysfun : SYSFUN
|
290
|
-
sysibm : SYSIBM
|
291
|
-
sysproc : SYSPROC
|
292
|
-
system : SYSTEM
|
293
|
-
table : TABLE
|
294
|
-
tablespace : TABLESPACE
|
295
|
-
then : THEN
|
296
|
-
to : TO
|
297
|
-
transaction : TRANSACTION
|
298
|
-
trigger : TRIGGER
|
299
|
-
trim : TRIM
|
300
|
-
type : TYPE
|
301
|
-
undo : UNDO
|
302
|
-
union : UNION
|
303
|
-
unique : UNIQUE
|
304
|
-
until : UNTIL
|
305
|
-
update : UPDATE
|
306
|
-
user : USER
|
307
|
-
usage : USAGE
|
308
|
-
user : USER
|
309
|
-
using : USING
|
310
|
-
validproc : VALIDPROC
|
311
|
-
value : VALUE
|
312
|
-
values : VALUES
|
313
|
-
variable : VARIABLE
|
314
|
-
variant : VARIANT
|
315
|
-
vcat : VCAT
|
316
|
-
view : VIEW
|
317
|
-
volatile : VOLATILE
|
318
|
-
volumes : VOLUMES
|
319
|
-
when : WHEN
|
320
|
-
whenever : WHENEVER
|
321
|
-
where : WHERE
|
322
|
-
while : WHILE
|
323
|
-
with : WITH
|
324
|
-
wlm : WLM
|
325
|
-
write : WRITE
|
326
|
-
xmlelement : XMLELEMENT
|
327
|
-
year : YEAR
|
328
|
-
years : YEARS
|
1
|
+
add : ADD
|
2
|
+
after : AFTER
|
3
|
+
alias : ALIAS
|
4
|
+
all : ALL
|
5
|
+
allocate : ALLOCATE
|
6
|
+
allow : ALLOW
|
7
|
+
alter : ALTER
|
8
|
+
and : AND
|
9
|
+
any : ANY
|
10
|
+
as : AS
|
11
|
+
asensitive : ASENSITIVE
|
12
|
+
associate : ASSOCIATE
|
13
|
+
asutime : ASUTIME
|
14
|
+
audit : AUDIT
|
15
|
+
authorization : AUTHORIZATION
|
16
|
+
aux : AUX
|
17
|
+
auxiliary : AUXILIARY
|
18
|
+
before : BEFORE
|
19
|
+
begin : BEGIN
|
20
|
+
between : BETWEEN
|
21
|
+
binary : BINARY
|
22
|
+
bufferpool : BUFFERPOOL
|
23
|
+
by : BY
|
24
|
+
cache : CACHE
|
25
|
+
call : CALL
|
26
|
+
called : CALLED
|
27
|
+
cardinality : CARDINALITY
|
28
|
+
capture : CAPTURE
|
29
|
+
cascaded : CASCADED
|
30
|
+
case : CASE
|
31
|
+
cast : CAST
|
32
|
+
ccsid : CCSID
|
33
|
+
char : CHAR
|
34
|
+
character : CHARACTER
|
35
|
+
check : CHECK
|
36
|
+
close : CLOSE
|
37
|
+
cluster : CLUSTER
|
38
|
+
collection : COLLECTION
|
39
|
+
collid : COLLID
|
40
|
+
column : COLUMN
|
41
|
+
comment : COMMENT
|
42
|
+
commit : COMMIT
|
43
|
+
concat : CONCAT
|
44
|
+
condition : CONDITION
|
45
|
+
connect : CONNECT
|
46
|
+
connection : CONNECTION
|
47
|
+
constraint : CONSTRAINT
|
48
|
+
contains : CONTAINS
|
49
|
+
continue : CONTINUE
|
50
|
+
count : COUNT
|
51
|
+
count_big : COUNT_BIG
|
52
|
+
create : CREATE
|
53
|
+
cross : CROSS
|
54
|
+
current : CURRENT
|
55
|
+
current_date : CURRENT_DATE
|
56
|
+
current_lc_ctype : CURRENT_LC_CTYPE
|
57
|
+
current_path : CURRENT_PATH
|
58
|
+
current_time : CURRENT_TIME
|
59
|
+
current_timestamp : CURRENT_TIMESTAMP
|
60
|
+
current_timezone : CURRENT_TIMEZONE
|
61
|
+
current_user : CURRENT_USER
|
62
|
+
cursor : CURSOR
|
63
|
+
cycle : CYCLE
|
64
|
+
data : DATA
|
65
|
+
database : DATABASE
|
66
|
+
day : DAY
|
67
|
+
days : DAYS
|
68
|
+
dbinfo : DBINFO
|
69
|
+
db2genrl : DB2GENRL
|
70
|
+
db2sql : DB2SQL
|
71
|
+
declare : DECLARE
|
72
|
+
default : DEFAULT
|
73
|
+
defaults : DEFAULTS
|
74
|
+
definition : DEFINITION
|
75
|
+
delete : DELETE
|
76
|
+
descriptor : DESCRIPTOR
|
77
|
+
deterministic : DETERMINISTIC
|
78
|
+
disallow : DISALLOW
|
79
|
+
disconnect : DISCONNECT
|
80
|
+
distinct : DISTINCT
|
81
|
+
do : DO
|
82
|
+
double : DOUBLE
|
83
|
+
drop : DROP
|
84
|
+
dssize : DSSIZE
|
85
|
+
dynamic : DYNAMIC
|
86
|
+
each : EACH
|
87
|
+
editproc : EDITPROC
|
88
|
+
else : ELSE
|
89
|
+
elseif : ELSEIF
|
90
|
+
encoding : ENCODING
|
91
|
+
encryption : ENCRYPTION
|
92
|
+
end : END
|
93
|
+
ending : ENDING
|
94
|
+
end-exec : END-EXEC
|
95
|
+
erase : ERASE
|
96
|
+
escape : ESCAPE
|
97
|
+
except : EXCEPT
|
98
|
+
excluding : EXCLUDING
|
99
|
+
exception : EXCEPTION
|
100
|
+
execute : EXECUTE
|
101
|
+
exists : EXISTS
|
102
|
+
exit : EXIT
|
103
|
+
explain : EXPLAIN
|
104
|
+
external : EXTERNAL
|
105
|
+
fenced : FENCED
|
106
|
+
fetch : FETCH
|
107
|
+
fieldproc : FIELDPROC
|
108
|
+
file : FILE
|
109
|
+
final : FINAL
|
110
|
+
for : FOR
|
111
|
+
foreign : FOREIGN
|
112
|
+
free : FREE
|
113
|
+
from : FROM
|
114
|
+
full : FULL
|
115
|
+
function : FUNCTION
|
116
|
+
general : GENERAL
|
117
|
+
generated : GENERATED
|
118
|
+
get : GET
|
119
|
+
global : GLOBAL
|
120
|
+
go : GO
|
121
|
+
goto : GOTO
|
122
|
+
grant : GRANT
|
123
|
+
graphic : GRAPHIC
|
124
|
+
group : GROUP
|
125
|
+
handler : HANDLER
|
126
|
+
having : HAVING
|
127
|
+
hold : HOLD
|
128
|
+
hour : HOUR
|
129
|
+
hours : HOURS
|
130
|
+
identity : IDENTITY
|
131
|
+
if : IF
|
132
|
+
immediate : IMMEDIATE
|
133
|
+
in : IN
|
134
|
+
including : INCLUDING
|
135
|
+
inclusive : INCLUSIVE
|
136
|
+
increment : INCREMENT
|
137
|
+
index : INDEX
|
138
|
+
indicator : INDICATOR
|
139
|
+
inherit : INHERIT
|
140
|
+
inner : INNER
|
141
|
+
inout : INOUT
|
142
|
+
insensitive : INSENSITIVE
|
143
|
+
insert : INSERT
|
144
|
+
integrity : INTEGRITY
|
145
|
+
into : INTO
|
146
|
+
is : IS
|
147
|
+
isobid : ISOBID
|
148
|
+
isolation : ISOLATION
|
149
|
+
iterate : ITERATE
|
150
|
+
jar : JAR
|
151
|
+
java : JAVA
|
152
|
+
join : JOIN
|
153
|
+
key : KEY
|
154
|
+
label : LABEL
|
155
|
+
language : LANGUAGE
|
156
|
+
lc_ctype : LC_CTYPE
|
157
|
+
leave : LEAVE
|
158
|
+
left : LEFT
|
159
|
+
like : LIKE
|
160
|
+
linktype : LINKTYPE
|
161
|
+
local : LOCAL
|
162
|
+
locale : LOCALE
|
163
|
+
locator : LOCATOR
|
164
|
+
locators : LOCATORS
|
165
|
+
lock : LOCK
|
166
|
+
lockmax : LOCKMAX
|
167
|
+
locksize : LOCKSIZE
|
168
|
+
long : LONG
|
169
|
+
loop : LOOP
|
170
|
+
maintained : MAINTAINED
|
171
|
+
materialized : MATERIALIZED
|
172
|
+
maxvalue : MAXVALUE
|
173
|
+
microsecond : MICROSECOND
|
174
|
+
microseconds : MICROSECONDS
|
175
|
+
minute : MINUTE
|
176
|
+
minutes : MINUTES
|
177
|
+
minvalue : MINVALUE
|
178
|
+
mode : MODE
|
179
|
+
modifies : MODIFIES
|
180
|
+
month : MONTH
|
181
|
+
months : MONTHS
|
182
|
+
new : NEW
|
183
|
+
new_table : NEW_TABLE
|
184
|
+
nextval : NEXTVAL
|
185
|
+
no : NO
|
186
|
+
nocache : NOCACHE
|
187
|
+
nocycle : NOCYCLE
|
188
|
+
nodename : NODENAME
|
189
|
+
nodenumber : NODENUMBER
|
190
|
+
nomaxvalue : NOMAXVALUE
|
191
|
+
nominvalue : NOMINVALUE
|
192
|
+
none : NONE
|
193
|
+
noorder : NOORDER
|
194
|
+
not : NOT
|
195
|
+
null : NULL
|
196
|
+
nulls : NULLS
|
197
|
+
numparts : NUMPARTS
|
198
|
+
obid : OBID
|
199
|
+
of : OF
|
200
|
+
old : OLD
|
201
|
+
old_table : OLD_TABLE
|
202
|
+
on : ON
|
203
|
+
open : OPEN
|
204
|
+
optimization : OPTIMIZATION
|
205
|
+
optimize : OPTIMIZE
|
206
|
+
option : OPTION
|
207
|
+
or : OR
|
208
|
+
order : ORDER
|
209
|
+
out : OUT
|
210
|
+
outer : OUTER
|
211
|
+
overriding : OVERRIDING
|
212
|
+
package : PACKAGE
|
213
|
+
parameter : PARAMETER
|
214
|
+
part : PART
|
215
|
+
padded : PADDED
|
216
|
+
partition : PARTITION
|
217
|
+
partitioned : PARTITIONED
|
218
|
+
partitioning : PARTITIONING
|
219
|
+
path : PATH
|
220
|
+
piecesize : PIECESIZE
|
221
|
+
plan : PLAN
|
222
|
+
position : POSITION
|
223
|
+
precision : PRECISION
|
224
|
+
prepare : PREPARE
|
225
|
+
prevval : PREVVAL
|
226
|
+
primary : PRIMARY
|
227
|
+
priqty : PRIQTY
|
228
|
+
privileges : PRIVILEGES
|
229
|
+
procedure : PROCEDURE
|
230
|
+
program : PROGRAM
|
231
|
+
psid : PSID
|
232
|
+
query : QUERY
|
233
|
+
queryno : QUERYNO
|
234
|
+
read : READ
|
235
|
+
reads : READS
|
236
|
+
recovery : RECOVERY
|
237
|
+
references : REFERENCES
|
238
|
+
referencing : REFERENCING
|
239
|
+
refresh : REFRESH
|
240
|
+
resignal : RESIGNAL
|
241
|
+
release : RELEASE
|
242
|
+
rename : RENAME
|
243
|
+
repeat : REPEAT
|
244
|
+
reset : RESET
|
245
|
+
resignal : RESIGNAL
|
246
|
+
restart : RESTART
|
247
|
+
restrict : RESTRICT
|
248
|
+
result : RESULT
|
249
|
+
result_set_locator : RESULT_SET_LOCATOR
|
250
|
+
return : RETURN
|
251
|
+
returns : RETURNS
|
252
|
+
revoke : REVOKE
|
253
|
+
right : RIGHT
|
254
|
+
rollback : ROLLBACK
|
255
|
+
routine : ROUTINE
|
256
|
+
row : ROW
|
257
|
+
rows : ROWS
|
258
|
+
rowset : ROWSET
|
259
|
+
rrn : RRN
|
260
|
+
run : RUN
|
261
|
+
savepoint : SAVEPOINT
|
262
|
+
schema : SCHEMA
|
263
|
+
scratchpad : SCRATCHPAD
|
264
|
+
second : SECOND
|
265
|
+
seconds : SECONDS
|
266
|
+
secqty : SECQTY
|
267
|
+
security : SECURITY
|
268
|
+
sequence : SEQUENCE
|
269
|
+
select : SELECT
|
270
|
+
sensitive : SENSITIVE
|
271
|
+
set : SET
|
272
|
+
signal : SIGNAL
|
273
|
+
simple : SIMPLE
|
274
|
+
some : SOME
|
275
|
+
source : SOURCE
|
276
|
+
specific : SPECIFIC
|
277
|
+
sql : SQL
|
278
|
+
sqlid : SQLID
|
279
|
+
standard : STANDARD
|
280
|
+
start : START
|
281
|
+
static : STATIC
|
282
|
+
stay : STAY
|
283
|
+
stogroup : STOGROUP
|
284
|
+
stores : STORES
|
285
|
+
style : STYLE
|
286
|
+
substring : SUBSTRING
|
287
|
+
summary : SUMMARY
|
288
|
+
synonym : SYNONYM
|
289
|
+
sysfun : SYSFUN
|
290
|
+
sysibm : SYSIBM
|
291
|
+
sysproc : SYSPROC
|
292
|
+
system : SYSTEM
|
293
|
+
table : TABLE
|
294
|
+
tablespace : TABLESPACE
|
295
|
+
then : THEN
|
296
|
+
to : TO
|
297
|
+
transaction : TRANSACTION
|
298
|
+
trigger : TRIGGER
|
299
|
+
trim : TRIM
|
300
|
+
type : TYPE
|
301
|
+
undo : UNDO
|
302
|
+
union : UNION
|
303
|
+
unique : UNIQUE
|
304
|
+
until : UNTIL
|
305
|
+
update : UPDATE
|
306
|
+
user : USER
|
307
|
+
usage : USAGE
|
308
|
+
user : USER
|
309
|
+
using : USING
|
310
|
+
validproc : VALIDPROC
|
311
|
+
value : VALUE
|
312
|
+
values : VALUES
|
313
|
+
variable : VARIABLE
|
314
|
+
variant : VARIANT
|
315
|
+
vcat : VCAT
|
316
|
+
view : VIEW
|
317
|
+
volatile : VOLATILE
|
318
|
+
volumes : VOLUMES
|
319
|
+
when : WHEN
|
320
|
+
whenever : WHENEVER
|
321
|
+
where : WHERE
|
322
|
+
while : WHILE
|
323
|
+
with : WITH
|
324
|
+
wlm : WLM
|
325
|
+
write : WRITE
|
326
|
+
xmlelement : XMLELEMENT
|
327
|
+
year : YEAR
|
328
|
+
years : YEARS
|