Home
last modified time | relevance | path

Searched refs:odbc_exec (Results 1 – 19 of 19) sorted by relevance

/PHP-8.0/ext/odbc/tests/
H A Dodbc_exec_001.phpt2 odbc_exec(): Basic test
17 odbc_exec($conn, 'foo', 'bar');
18 odbc_exec($conn, 'foo');
20 odbc_exec($conn, '', '');
21 odbc_exec($conn, '');
23 odbc_exec($conn, 1, 1);
24 odbc_exec($conn, 1);
26 odbc_exec($conn, NULL, NULL);
27 odbc_exec($conn, NULL);
33 Warning: odbc_exec(): SQL error: %s in %s on line %d
[all …]
H A Dodbc_exec_002.phpt2 odbc_exec(): Getting data from query
12 odbc_exec($conn, 'CREATE DATABASE odbcTEST');
14 odbc_exec($conn, 'CREATE TABLE FOO (TEST INT)');
16 odbc_exec($conn, 'INSERT INTO FOO VALUES (1)');
17 odbc_exec($conn, 'INSERT INTO FOO VALUES (2)');
19 $res = odbc_exec($conn, 'SELECT * FROM FOO');
29 odbc_exec($conn, 'DROP TABLE FOO');
30 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug68087.phpt2 odbc_exec(): Getting accurate date data from query
15 @odbc_exec($conn, 'CREATE DATABASE odbcTEST');
17 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL VARCHAR(100), DATE_COL DATE)');
19 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL, DATE_COL) VALUES (1, 'hello', '$id_1_date')");
20 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL, DATE_COL) VALUES (2, 'helloagain', '$id_2_date')…
22 $res = odbc_exec($conn, 'SELECT * FROM FOO ORDER BY ID ASC');
54 odbc_exec($conn, 'DROP TABLE FOO');
55 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug69975.phpt10 @odbc_exec($conn, 'CREATE DATABASE odbcTEST');
11 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL NVARCHAR(MAX))');
12 odbc_exec($conn, "INSERT INTO FOO VALUES (1, 'foo')");
14 $result = odbc_exec($conn, "SELECT VARCHAR_COL FROM FOO");
30 odbc_exec($conn, 'DROP TABLE FOO');
31 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug71171.phpt12 @odbc_exec($conn, 'CREATE DATABASE odbcTEST');
14 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL NVARCHAR(40))');
16 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL) VALUES (1, '" . chr(0x81) . "')");
18 $res = odbc_exec($conn,"SELECT ID FROM FOO WHERE VARCHAR_COL = '" . chr(0x81) . "'");
36 odbc_exec($conn, 'DROP TABLE FOO');
37 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dodbc_free_result_001.phpt12 odbc_exec($conn, 'CREATE DATABASE odbcTEST');
14 odbc_exec($conn, 'CREATE TABLE FOO (TEST INT NOT NULL)');
15 odbc_exec($conn, 'ALTER TABLE FOO ADD PRIMARY KEY (TEST)');
17 odbc_exec($conn, 'INSERT INTO FOO VALUES (1)');
18 odbc_exec($conn, 'INSERT INTO FOO VALUES (2)');
20 $res = odbc_exec($conn, 'SELECT * FROM FOO');
45 odbc_exec($conn, 'DROP TABLE FOO');
46 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug69354.phpt12 @odbc_exec($conn, 'CREATE DATABASE odbcTEST');
14 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL VARCHAR(100))');
16 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL) VALUES (1, '" . str_repeat("a", 100) . "')");
18 $res = odbc_exec($conn,"select VARCHAR_COL from FOO");
38 odbc_exec($conn, 'DROP TABLE FOO');
39 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug60616.phpt2 odbc_exec(): Getting accurate unicode data from query
24 odbc_exec($conn, 'CREATE DATABASE odbcTEST ENCODING=\'EUC_JP\'');
26 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, CHAR_COL CHAR(200), VARCHAR_COL VARCHAR(200), TEXT_COL …
28 odbc_exec($conn, "INSERT INTO FOO(ID, CHAR_COL, VARCHAR_COL, TEXT_COL) VALUES (1, '$euc_jp', '$euc_…
29 odbc_exec($conn, "INSERT INTO FOO(ID, CHAR_COL, VARCHAR_COL, TEXT_COL) VALUES (2, '$ascii', '$ascii…
31 $res = odbc_exec($conn, 'SELECT * FROM FOO ORDER BY ID ASC');
71 odbc_exec($conn, 'DROP TABLE FOO');
72 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug44618.phpt10 odbc_exec($conn, "CREATE TABLE bug44618(ID INT, real1 REAL, text1 TEXT)");
11 odbc_exec($conn, "INSERT INTO bug44618 VALUES (1, 10.0199995, 'testing 1,2,3')");
13 $result = odbc_exec($conn, "SELECT * FROM bug44618");
17 $result = odbc_exec($conn, "SELECT * FROM bug44618");
22 $result = odbc_exec($conn, "SELECT * FROM bug44618");
27 $result = odbc_exec($conn, "SELECT * FROM bug44618");
35 odbc_exec($conn, "DROP TABLE bug44618");
H A Dbug80147.phpt11 odbc_exec($conn, "CREATE TABLE bug80147 (id INT, whatever VARBINARY(50))");
12 odbc_exec($conn, "INSERT INTO bug80147 VALUES (1, CONVERT(VARBINARY(50), 'whatever'))");
14 $res = odbc_exec($conn, "SELECT * FROM bug80147");
24 odbc_exec($conn, "DROP TABLE bug80147");
H A Dbug80592.phpt10 odbc_exec($conn,"CREATE TABLE bug80592 (f1 float not null, f2 float not null, f3 float not null)");
13 $res = odbc_exec($conn, "SELECT f1, f2, f3 from bug80592");
21 odbc_exec($conn, "DROP TABLE bug80592");
H A Dbug47803.phpt38 odbc_exec($link, 'CREATE DATABASE odbcTEST');
39 odbc_exec($link, $create_table);
40 odbc_exec($link, $inserts);
178 odbc_exec($conn, 'DROP TABLE FOO');
179 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug80152.phpt10 odbc_exec($conn,"CREATE TABLE bug80152 (id INT, name CHAR(24))");
22 odbc_exec($conn, "DROP TABLE bug80152");
H A Dbug73725.phpt49 odbc_exec($conn, 'DROP TABLE bug73725');
H A Dbug73448.phpt22 $r = @odbc_exec($conn, $sql);
/PHP-8.0/ext/odbc/
H A Dodbc_arginfo.h258 ZEND_FUNCTION(odbc_exec);
322 ZEND_FE(odbc_exec, arginfo_odbc_exec)
323 ZEND_FALIAS(odbc_do, odbc_exec, arginfo_odbc_do)
H A Dodbc.stub.php34 function odbc_exec($odbc, string $query) {} function
H A Dphp_odbc.c1263 PHP_FUNCTION(odbc_exec) in PHP_FUNCTION() argument
/PHP-8.0/
H A DUPGRADING409 . The unused flags parameter of odbc_exec() has been removed.

Completed in 142 milliseconds