blob: d45078629ece8fda7aa8d4c9f435f30a87ebe906 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
|
Extension [ <persistent> extension #128 sqlsrv version 4.2.0-preview ] {
- INI {
Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ]
Current = '1'
}
Entry [ sqlsrv.LogSeverity <ALL> ]
Current = '0'
}
Entry [ sqlsrv.LogSubsystems <ALL> ]
Current = '0'
}
Entry [ sqlsrv.ClientBufferMaxKBSize <ALL> ]
Current = '10240'
}
}
- Constants [74] {
Constant [ integer SQLSRV_ERR_ERRORS ] { 0 }
Constant [ integer SQLSRV_ERR_WARNINGS ] { 1 }
Constant [ integer SQLSRV_ERR_ALL ] { 2 }
Constant [ integer SQLSRV_LOG_SYSTEM_OFF ] { 0 }
Constant [ integer SQLSRV_LOG_SYSTEM_INIT ] { 1 }
Constant [ integer SQLSRV_LOG_SYSTEM_CONN ] { 2 }
Constant [ integer SQLSRV_LOG_SYSTEM_STMT ] { 4 }
Constant [ integer SQLSRV_LOG_SYSTEM_UTIL ] { 8 }
Constant [ integer SQLSRV_LOG_SYSTEM_ALL ] { -1 }
Constant [ integer SQLSRV_LOG_SEVERITY_ERROR ] { 1 }
Constant [ integer SQLSRV_LOG_SEVERITY_WARNING ] { 2 }
Constant [ integer SQLSRV_LOG_SEVERITY_NOTICE ] { 4 }
Constant [ integer SQLSRV_LOG_SEVERITY_ALL ] { -1 }
Constant [ integer SQLSRV_FETCH_NUMERIC ] { 1 }
Constant [ integer SQLSRV_FETCH_ASSOC ] { 2 }
Constant [ integer SQLSRV_FETCH_BOTH ] { 3 }
Constant [ integer SQLSRV_PHPTYPE_NULL ] { 1 }
Constant [ integer SQLSRV_PHPTYPE_INT ] { 2 }
Constant [ integer SQLSRV_PHPTYPE_FLOAT ] { 3 }
Constant [ integer SQLSRV_PHPTYPE_DATETIME ] { 5 }
Constant [ string SQLSRV_ENC_BINARY ] { binary }
Constant [ string SQLSRV_ENC_CHAR ] { char }
Constant [ integer SQLSRV_NULLABLE_NO ] { 0 }
Constant [ integer SQLSRV_NULLABLE_YES ] { 1 }
Constant [ integer SQLSRV_NULLABLE_UNKNOWN ] { 2 }
Constant [ integer SQLSRV_SQLTYPE_BIGINT ] { -5 }
Constant [ integer SQLSRV_SQLTYPE_BIT ] { -7 }
Constant [ integer SQLSRV_SQLTYPE_DATETIME ] { 25177693 }
Constant [ integer SQLSRV_SQLTYPE_FLOAT ] { 6 }
Constant [ integer SQLSRV_SQLTYPE_IMAGE ] { -4 }
Constant [ integer SQLSRV_SQLTYPE_INT ] { 4 }
Constant [ integer SQLSRV_SQLTYPE_MONEY ] { 33564163 }
Constant [ integer SQLSRV_SQLTYPE_NTEXT ] { -10 }
Constant [ integer SQLSRV_SQLTYPE_TEXT ] { -1 }
Constant [ integer SQLSRV_SQLTYPE_REAL ] { 7 }
Constant [ integer SQLSRV_SQLTYPE_SMALLDATETIME ] { 8285 }
Constant [ integer SQLSRV_SQLTYPE_SMALLINT ] { 5 }
Constant [ integer SQLSRV_SQLTYPE_SMALLMONEY ] { 33559555 }
Constant [ integer SQLSRV_SQLTYPE_TIMESTAMP ] { 4606 }
Constant [ integer SQLSRV_SQLTYPE_TINYINT ] { -6 }
Constant [ integer SQLSRV_SQLTYPE_UDT ] { -151 }
Constant [ integer SQLSRV_SQLTYPE_UNIQUEIDENTIFIER ] { -11 }
Constant [ integer SQLSRV_SQLTYPE_XML ] { -152 }
Constant [ integer SQLSRV_SQLTYPE_DATE ] { 5211 }
Constant [ integer SQLSRV_SQLTYPE_TIME ] { 58728806 }
Constant [ integer SQLSRV_SQLTYPE_DATETIMEOFFSET ] { 58738021 }
Constant [ integer SQLSRV_SQLTYPE_DATETIME2 ] { 58734173 }
Constant [ integer SQLSRV_SQLTYPE_DECIMAL ] { 3 }
Constant [ integer SQLSRV_SQLTYPE_NUMERIC ] { 2 }
Constant [ integer SQLSRV_SQLTYPE_CHAR ] { 1 }
Constant [ integer SQLSRV_SQLTYPE_NCHAR ] { -8 }
Constant [ integer SQLSRV_SQLTYPE_VARCHAR ] { 12 }
Constant [ integer SQLSRV_SQLTYPE_NVARCHAR ] { -9 }
Constant [ integer SQLSRV_SQLTYPE_BINARY ] { -2 }
Constant [ integer SQLSRV_SQLTYPE_VARBINARY ] { -3 }
Constant [ integer SQLSRV_PARAM_IN ] { 1 }
Constant [ integer SQLSRV_PARAM_OUT ] { 4 }
Constant [ integer SQLSRV_PARAM_INOUT ] { 2 }
Constant [ integer SQLSRV_TXN_READ_UNCOMMITTED ] { 1 }
Constant [ integer SQLSRV_TXN_READ_COMMITTED ] { 2 }
Constant [ integer SQLSRV_TXN_REPEATABLE_READ ] { 4 }
Constant [ integer SQLSRV_TXN_SERIALIZABLE ] { 8 }
Constant [ integer SQLSRV_TXN_SNAPSHOT ] { 32 }
Constant [ integer SQLSRV_SCROLL_NEXT ] { 1 }
Constant [ integer SQLSRV_SCROLL_PRIOR ] { 4 }
Constant [ integer SQLSRV_SCROLL_FIRST ] { 2 }
Constant [ integer SQLSRV_SCROLL_LAST ] { 3 }
Constant [ integer SQLSRV_SCROLL_ABSOLUTE ] { 5 }
Constant [ integer SQLSRV_SCROLL_RELATIVE ] { 6 }
Constant [ string SQLSRV_CURSOR_FORWARD ] { forward }
Constant [ string SQLSRV_CURSOR_STATIC ] { static }
Constant [ string SQLSRV_CURSOR_DYNAMIC ] { dynamic }
Constant [ string SQLSRV_CURSOR_KEYSET ] { keyset }
Constant [ string SQLSRV_CURSOR_CLIENT_BUFFERED ] { buffered }
}
- Functions {
Function [ <internal:sqlsrv> function sqlsrv_connect ] {
- Parameters [2] {
Parameter #0 [ <required> $server_name ]
Parameter #1 [ <optional> array $connection_info ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_close ] {
- Parameters [1] {
Parameter #0 [ <required> $conn ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_commit ] {
- Parameters [1] {
Parameter #0 [ <required> $conn ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_begin_transaction ] {
- Parameters [1] {
Parameter #0 [ <required> $conn ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_rollback ] {
- Parameters [1] {
Parameter #0 [ <required> $conn ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_errors ] {
- Parameters [1] {
Parameter #0 [ <optional> $errors_and_or_warnings ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_configure ] {
- Parameters [2] {
Parameter #0 [ <required> $setting ]
Parameter #1 [ <required> $value ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_get_config ] {
- Parameters [1] {
Parameter #0 [ <required> $setting ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_prepare ] {
- Parameters [4] {
Parameter #0 [ <required> $conn ]
Parameter #1 [ <required> $tsql ]
Parameter #2 [ <optional> $params ]
Parameter #3 [ <optional> $options ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_execute ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_query ] {
- Parameters [4] {
Parameter #0 [ <required> $conn ]
Parameter #1 [ <required> $tsql ]
Parameter #2 [ <optional> $params ]
Parameter #3 [ <optional> $options ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_fetch ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_get_field ] {
- Parameters [3] {
Parameter #0 [ <required> $stmt ]
Parameter #1 [ <required> $field_index ]
Parameter #2 [ <optional> $get_as_type ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_fetch_array ] {
- Parameters [4] {
Parameter #0 [ <required> $stmt ]
Parameter #1 [ <optional> $fetch_type ]
Parameter #2 [ <optional> $row ]
Parameter #3 [ <optional> $offset ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_fetch_object ] {
- Parameters [5] {
Parameter #0 [ <required> $stmt ]
Parameter #1 [ <optional> $class_name ]
Parameter #2 [ <optional> $ctor_params ]
Parameter #3 [ <optional> $row ]
Parameter #4 [ <optional> $offset ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_has_rows ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_num_fields ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_next_result ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_num_rows ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_rows_affected ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_PHPTYPE_STREAM ] {
- Parameters [1] {
Parameter #0 [ <required> $encoding ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_PHPTYPE_STRING ] {
- Parameters [1] {
Parameter #0 [ <required> $encoding ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_client_info ] {
- Parameters [1] {
Parameter #0 [ <required> $conn ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_server_info ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_cancel ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_free_stmt ] {
- Parameters [1] {
Parameter #0 [ <required> $conn ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_field_metadata ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_send_stream_data ] {
- Parameters [1] {
Parameter #0 [ <required> $stmt ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_SQLTYPE_BINARY ] {
- Parameters [1] {
Parameter #0 [ <required> $size ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_SQLTYPE_CHAR ] {
- Parameters [1] {
Parameter #0 [ <required> $size ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_SQLTYPE_DECIMAL ] {
- Parameters [2] {
Parameter #0 [ <required> $precision ]
Parameter #1 [ <required> $scale ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_SQLTYPE_NCHAR ] {
- Parameters [1] {
Parameter #0 [ <required> $size ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_SQLTYPE_NUMERIC ] {
- Parameters [2] {
Parameter #0 [ <required> $precision ]
Parameter #1 [ <required> $scale ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_SQLTYPE_NVARCHAR ] {
- Parameters [1] {
Parameter #0 [ <required> $size ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_SQLTYPE_VARBINARY ] {
- Parameters [1] {
Parameter #0 [ <required> $size ]
}
}
Function [ <internal:sqlsrv> function SQLSRV_SQLTYPE_VARCHAR ] {
- Parameters [1] {
Parameter #0 [ <required> $size ]
}
}
}
}
|