Home
last modified time | relevance | path

Searched refs:oci_bind_by_name (Results 1 – 25 of 108) sorted by relevance

12345

/PHP-8.2/ext/oci8/tests/
H A Dbind_sqltint.phpt28 oci_bind_by_name($s, ":id", $id);
40 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_INT);
131 oci_bind_by_name($s, ":p1", $p1, 10);
140 oci_bind_by_name($s, ":p1", $p1, 10);
149 oci_bind_by_name($s, ":p1", $p1, 10);
158 oci_bind_by_name($s, ":p1", $p1, 10);
167 oci_bind_by_name($s, ":p1", $p1, 10);
176 oci_bind_by_name($s, ":p1", $p1, 10);
185 oci_bind_by_name($s, ":p1", $p1, 10);
194 oci_bind_by_name($s, ":p1", $p1, 10);
[all …]
H A Dbind_char_3.phpt35 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2);
43 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10);
52 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10);
62 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL…
100 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL…
108 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10);
118 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10);
148 $r = oci_bind_by_name($s, ':bv1', $bv1, 0, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 0, SQLT_…
158 $r = oci_bind_by_name($s, ':bv1', $bv1, 1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 1, SQLT_…
179 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10);
[all …]
H A Dbind_char_4.phpt37 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2);
45 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10);
54 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10);
64 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL…
102 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL…
110 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10);
120 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10);
150 $r = oci_bind_by_name($s, ':bv1', $bv1, 0, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 0, SQLT_…
160 $r = oci_bind_by_name($s, ':bv1', $bv1, 1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 1, SQLT_…
181 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10);
[all …]
H A Dbind_unsupported_1.phpt30 oci_bind_by_name($s, ":c1", $c1, -1, $v);
37 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 97 in %sbind_unsupported_1.php …
40 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 5 in %sbind_unsupported_1.php o…
43 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 9 in %sbind_unsupported_1.php o…
46 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 94 in %sbind_unsupported_1.php …
49 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 4 in %sbind_unsupported_1.php o…
52 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 68 in %sbind_unsupported_1.php …
55 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 156 in %sbind_unsupported_1.php…
H A Dbind_sqltafc.phpt41 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC);
42 oci_bind_by_name($s, ":c3", $c3, -1, SQLT_AFC);
43 oci_bind_by_name($s, ":c4", $c4, -1, SQLT_AFC);
44 oci_bind_by_name($s, ":c5", $c5, -1, SQLT_AFC);
56 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC);
57 oci_bind_by_name($s, ":c3", $c3, -1, SQLT_AFC);
58 oci_bind_by_name($s, ":c4", $c4, -1, SQLT_AFC);
59 oci_bind_by_name($s, ":c5", $c5, -1, SQLT_AFC);
71 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC);
72 oci_bind_by_name($s, ":c3", $c3, -1, SQLT_AFC);
[all …]
H A Drefcur_prefetch_4.phpt58 oci_bind_by_name($s,':c1',$i);
59 oci_bind_by_name($s,':c2',$val2);
71 die("oci_bind_by_name(sql1) failed!\n");
80 die("oci_bind_by_name(sql2) failed!\n");
82 if (!oci_bind_by_name($s2, ":c1", $c1, -1, SQLT_INT)) {
83 die("oci_bind_by_name(sql2) failed!\n");
86 die("oci_bind_by_name(sql2) failed!\n");
94 die("oci_bind_by_name(sql2) failed!\n");
104 die("oci_bind_by_name(sql1) failed!\n");
115 die("oci_bind_by_name(sql1) failed!\n");
[all …]
H A Dbind_char_1.phpt2 SELECT oci_bind_by_name with SQLT_AFC aka CHAR
41 $r = oci_bind_by_name($s, ":bv", $bv1);
46 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC);
51 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC);
76 $r = oci_bind_by_name($s, ":bv", $bv1);
86 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC);
91 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC);
101 $r = oci_bind_by_name($s, ":bv", $bv1, 1, SQLT_AFC);
112 $r = oci_bind_by_name($s, ":bv", $bv1);
122 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC);
[all …]
H A Dbind_misccoltypes.phpt108 oci_bind_by_name($s, ":n1", $n1);
109 oci_bind_by_name($s, ":c1", $c1);
110 oci_bind_by_name($s, ":c2", $c2);
111 oci_bind_by_name($s, ":c3", $c3);
112 oci_bind_by_name($s, ":n2", $n2);
113 oci_bind_by_name($s, ":n3", $n3);
114 oci_bind_by_name($s, ":n4", $n4);
115 oci_bind_by_name($s, ":d1", $d1);
116 oci_bind_by_name($s, ":n5", $n5);
117 oci_bind_by_name($s, ":c4", $c4);
[all …]
H A Dbind_boolean_1.phpt32 oci_bind_by_name($s, ':output1', $output1, -1, OCI_B_BOL);
33 oci_bind_by_name($s, ':output2', $output2, -1, OCI_B_BOL);
43 oci_bind_by_name($s, ':b', $b, -1, OCI_B_BOL);
59 oci_bind_by_name($s, ':output', $output, -1, OCI_B_BOL);
61 oci_bind_by_name($s, ':input', $input);
77 oci_bind_by_name($s, ':b', $b, -1, OCI_B_BOL);
79 oci_bind_by_name($s, ':userid', $userid, -1, SQLT_INT);
98 oci_bind_by_name($s, ':b1', $b1, -1, OCI_B_BOL);
99 oci_bind_by_name($s, ':b2', $b2, -1, OCI_B_BOL);
H A Dbug72524.phpt32 oci_bind_by_name($stmt, ':clob_col', $clob);
33 oci_bind_by_name($stmt, ':varchar2_col', $varchar2);
41 oci_bind_by_name($stmt, ':clob_col', $clob);
42 oci_bind_by_name($stmt, ':varchar2_col', $varchar2);
49 oci_bind_by_name($stmt, ':clob_col', $clob, 0);
50 oci_bind_by_name($stmt, ':varchar2_col', $varchar2, 0);
57 oci_bind_by_name($stmt, ':clob_col', $clob, -1, SQLT_LNG);
58 oci_bind_by_name($stmt, ':varchar2_col', $varchar2, -1, SQLT_LNG);
65 oci_bind_by_name($stmt, ':clob_col', $clob, 0, SQLT_LNG);
66 oci_bind_by_name($stmt, ':varchar2_col', $varchar2, 0, SQLT_LNG);
H A Dbind_unsupported_3.phpt28 oci_bind_by_name($s, ":c1", $c1, -1, $v);
35 Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line…
38 Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line…
41 Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line…
44 Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line…
H A Dbind_sqltchr_1.phpt28 oci_bind_by_name($s, ":id", $id);
40 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_CHR);
50 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR);
59 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR);
68 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR);
77 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR);
86 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR);
95 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR);
104 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR);
113 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR);
[all …]
H A Dbind_sqltnum.phpt34 oci_bind_by_name($s, ":id", $id);
47 $r = oci_bind_by_name($s, ":c2", $c2, -1);
82 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM);
89 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM);
98 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM);
107 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM);
116 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM);
125 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM);
134 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM);
143 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM);
[all …]
H A Drefcur_prefetch_2.phpt56 oci_bind_by_name($s,':c1',$i);
57 oci_bind_by_name($s,':c2',$val2);
68 if (!oci_bind_by_name($s1,":cur1",$cur1,-1,SQLT_RSET)) {
69 die("oci_bind_by_name(sql1) failed!\n");
78 die("oci_bind_by_name(sql2) failed!\n");
80 if (!oci_bind_by_name($s2, ":c1", $c1, -1, SQLT_INT)) {
81 die("oci_bind_by_name(sql2) failed!\n");
83 if (!oci_bind_by_name($s2, ":c2", $c2, 20, SQLT_CHR)) {
84 die("oci_bind_by_name(sql2) failed!\n");
113 die("oci_bind_by_name(sql1) failed!\n");
[all …]
H A Dbind_number.phpt31 oci_bind_by_name($s, ":id", $id);
43 oci_bind_by_name($s, ":n1", $n1);
52 oci_bind_by_name($s, ":f1", $f1);
61 oci_bind_by_name($s, ":f1", $f1);
70 oci_bind_by_name($s, ":f1", $f1);
79 oci_bind_by_name($s, ":f1", $f1);
88 oci_bind_by_name($s, ":f1", $f1, -1, SQLT_NUM);
97 oci_bind_by_name($s, ":f1", $f1);
106 oci_bind_by_name($s, ":f1", $f1);
115 oci_bind_by_name($s, ":f1", $f1, -1, SQLT_INT);
H A Derror_bind.phpt2 Test some oci_bind_by_name error conditions
23 oci_bind_by_name($stmt, ":name", $name, 10, SQLT_CHR);
31 oci_bind_by_name($stmt, ":name", $c);
38 oci_bind_by_name($stmt, ":r_id", $c);
59 Warning: oci_bind_by_name(): Invalid variable used for bind in %s on line %d
66 Warning: oci_bind_by_name(): Invalid variable used for bind in %s on line %d
H A Dbind_char_2.phpt2 SELECT oci_bind_by_name with SQLT_AFC aka CHAR and dates
38 $r = oci_bind_by_name($s, ":bv", $bv1);
43 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC);
48 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC);
53 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1), SQLT_AFC);
58 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1)-1, SQLT_AFC);
63 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1)+1, SQLT_AFC);
H A Dbug38161.phpt2 Bug #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable)
12 oci_bind_by_name($stid, ":bv", $bv, 22);
20 oci_bind_by_name($stid, ":bv", $bv, 22, SQLT_INT);
H A Dbind_unsupported_2.phpt21 oci_bind_by_name($s, ":c1", $c1, -1, $v);
28 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 22 in %sbind_unsupported_2.php …
31 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 21 in %sbind_unsupported_2.php …
H A Dbind_empty.phpt23 oci_bind_by_name($stmt, ":name", $name);
31 oci_bind_by_name($stmt, ":name", $name);
45 oci_bind_by_name($stmt, ":name", $name);
58 oci_bind_by_name($stmt, ":name", $name);
71 oci_bind_by_name($s, ":bv", $bv);
80 oci_bind_by_name($s, ":bv", $bv);
H A Dbug71148.phpt38 oci_bind_by_name($stmt, $name, $var);
84 oci_bind_by_name($stmt, ":output1", $cache1);
85 oci_bind_by_name($stmt, ":output2", $cache2);
102 oci_bind_by_name($stmt, ":var1", $cache1, -1);
103 oci_bind_by_name($stmt, ":var2", $cache2, -1);
104 oci_bind_by_name($stmt, ":output", $cache3, 100);
142 oci_bind_by_name($stmt, ":var1", $cache1, -1);
143 oci_bind_by_name($stmt, ":var2", $cache2, -1);
144 oci_bind_by_name($stmt, ":var3", $cache3, 100);
H A Dbind_misccoltypes_errs.phpt40 oci_bind_by_name($s, ":id", $id);
53 oci_bind_by_name($s, ":n1", $n1);
63 oci_bind_by_name($s, ":n1", $n1);
72 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC);
79 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC);
86 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC);
93 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_BIN);
102 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_LBI);
H A Ddefine6.phpt40 oci_bind_by_name($s1, ":curs", $cursor1, -1, OCI_B_CURSOR);
53 oci_bind_by_name($s2, ":curs", $cursor2, -1, OCI_B_CURSOR);
67 oci_bind_by_name($s3, ":curs", $cursor3, -1, OCI_B_CURSOR);
80 oci_bind_by_name($s4, ":curs", $cursor4, -1, OCI_B_CURSOR);
94 oci_bind_by_name($s5, ":curs", $cursor5, -1, OCI_B_CURSOR);
107 oci_bind_by_name($s6, ":curs", $cursor6, -1, OCI_B_CURSOR);
H A Derror_bind_2.phpt2 Test some more oci_bind_by_name error conditions
35 oci_bind_by_name($stmt, ":name", $name, -1, SQLT_BOL);
44 oci_bind_by_name($stmt, ":name", $name, -1, SQLT_BOL);
63 Warning: oci_bind_by_name(): Invalid variable used for bind in %s on line %d
H A Dbind_long.phpt28 oci_bind_by_name( $stmt, ":id", $i, -1);
29 oci_bind_by_name( $stmt, ":filetxt", $filetxt, -1, SQLT_LNG);
46 oci_bind_by_name( $stmt, ":id", $i, -1);
47 oci_bind_by_name( $stmt, ":filetxt", $filetxt, -1, SQLT_LNG);

Completed in 32 milliseconds

12345