Home
last modified time | relevance | path

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

/PHP-8.1/ext/odbc/tests/
H A Dodbc_exec_001.phpt2 odbc_exec(): Basic test
19 odbc_exec($conn, 'foo', 'bar');
20 odbc_exec($conn, 'foo');
22 odbc_exec($conn, '', '');
23 odbc_exec($conn, '');
25 odbc_exec($conn, 1, 1);
26 odbc_exec($conn, 1);
28 odbc_exec($conn, NULL, NULL);
29 odbc_exec($conn, NULL);
35 Warning: odbc_exec(): SQL error: %s in %s on line %d
[all …]
H A Dodbc_exec_002.phpt2 odbc_exec(): Getting data from query
14 odbc_exec($conn, 'CREATE DATABASE odbcTEST');
16 odbc_exec($conn, 'CREATE TABLE FOO (TEST INT)');
18 odbc_exec($conn, 'INSERT INTO FOO VALUES (1)');
19 odbc_exec($conn, 'INSERT INTO FOO VALUES (2)');
21 $res = odbc_exec($conn, 'SELECT * FROM FOO');
31 odbc_exec($conn, 'DROP TABLE FOO');
32 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug68087.phpt2 odbc_exec(): Getting accurate date data from query
17 @odbc_exec($conn, 'CREATE DATABASE odbcTEST');
19 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL VARCHAR(100), DATE_COL DATE)');
21 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL, DATE_COL) VALUES (1, 'hello', '$id_1_date')");
22 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL, DATE_COL) VALUES (2, 'helloagain', '$id_2_date')…
24 $res = odbc_exec($conn, 'SELECT * FROM FOO ORDER BY ID ASC');
56 odbc_exec($conn, 'DROP TABLE FOO');
57 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug69975.phpt12 @odbc_exec($conn, 'CREATE DATABASE odbcTEST');
13 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL NVARCHAR(MAX))');
14 odbc_exec($conn, "INSERT INTO FOO VALUES (1, 'foo')");
16 $result = odbc_exec($conn, "SELECT VARCHAR_COL FROM FOO");
32 odbc_exec($conn, 'DROP TABLE FOO');
33 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug71171.phpt14 @odbc_exec($conn, 'CREATE DATABASE odbcTEST');
16 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL NVARCHAR(40))');
18 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL) VALUES (1, '" . chr(0x81) . "')");
20 $res = odbc_exec($conn,"SELECT ID FROM FOO WHERE VARCHAR_COL = '" . chr(0x81) . "'");
38 odbc_exec($conn, 'DROP TABLE FOO');
39 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dodbc_free_result_001.phpt14 odbc_exec($conn, 'CREATE DATABASE odbcTEST');
16 odbc_exec($conn, 'CREATE TABLE FOO (TEST INT NOT NULL)');
17 odbc_exec($conn, 'ALTER TABLE FOO ADD PRIMARY KEY (TEST)');
19 odbc_exec($conn, 'INSERT INTO FOO VALUES (1)');
20 odbc_exec($conn, 'INSERT INTO FOO VALUES (2)');
22 $res = odbc_exec($conn, 'SELECT * FROM FOO');
47 odbc_exec($conn, 'DROP TABLE FOO');
48 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug69354.phpt14 @odbc_exec($conn, 'CREATE DATABASE odbcTEST');
16 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL VARCHAR(100))');
18 odbc_exec($conn, "INSERT INTO FOO(ID, VARCHAR_COL) VALUES (1, '" . str_repeat("a", 100) . "')");
20 $res = odbc_exec($conn,"select VARCHAR_COL from FOO");
40 odbc_exec($conn, 'DROP TABLE FOO');
41 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug60616.phpt2 odbc_exec(): Getting accurate unicode data from query
26 odbc_exec($conn, 'CREATE DATABASE odbcTEST ENCODING=\'EUC_JP\'');
28 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, CHAR_COL CHAR(200), VARCHAR_COL VARCHAR(200), TEXT_COL …
30 odbc_exec($conn, "INSERT INTO FOO(ID, CHAR_COL, VARCHAR_COL, TEXT_COL) VALUES (1, '$euc_jp', '$euc_…
31 odbc_exec($conn, "INSERT INTO FOO(ID, CHAR_COL, VARCHAR_COL, TEXT_COL) VALUES (2, '$ascii', '$ascii…
33 $res = odbc_exec($conn, 'SELECT * FROM FOO ORDER BY ID ASC');
73 odbc_exec($conn, 'DROP TABLE FOO');
74 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug44618.phpt12 odbc_exec($conn, "CREATE TABLE bug44618(ID INT, real1 REAL, text1 TEXT)");
13 odbc_exec($conn, "INSERT INTO bug44618 VALUES (1, 10.0199995, 'testing 1,2,3')");
15 $result = odbc_exec($conn, "SELECT * FROM bug44618");
19 $result = odbc_exec($conn, "SELECT * FROM bug44618");
24 $result = odbc_exec($conn, "SELECT * FROM bug44618");
29 $result = odbc_exec($conn, "SELECT * FROM bug44618");
37 odbc_exec($conn, "DROP TABLE bug44618");
H A Dbug80147.phpt13 odbc_exec($conn, "CREATE TABLE bug80147 (id INT, whatever VARBINARY(50))");
14 odbc_exec($conn, "INSERT INTO bug80147 VALUES (1, CONVERT(VARBINARY(50), 'whatever'))");
16 $res = odbc_exec($conn, "SELECT * FROM bug80147");
26 odbc_exec($conn, "DROP TABLE bug80147");
H A Dbug80592.phpt12 odbc_exec($conn,"CREATE TABLE bug80592 (f1 float not null, f2 float not null, f3 float not null)");
15 $res = odbc_exec($conn, "SELECT f1, f2, f3 from bug80592");
23 odbc_exec($conn, "DROP TABLE bug80592");
H A Dbug47803.phpt40 odbc_exec($link, 'CREATE DATABASE odbcTEST');
41 odbc_exec($link, $create_table);
42 odbc_exec($link, $inserts);
180 odbc_exec($conn, 'DROP TABLE FOO');
181 odbc_exec($conn, 'DROP DATABASE odbcTEST');
H A Dbug80152.phpt12 odbc_exec($conn,"CREATE TABLE bug80152 (id INT, name CHAR(24))");
24 odbc_exec($conn, "DROP TABLE bug80152");
H A Dodbc_persistent_close.phpt13 $result = @odbc_exec($conn, "SELECT @@Version");
30 return odbc_exec($conn, "SET CONTEXT_INFO 0x$hexstring");
34 $stmt = odbc_exec($conn, "SELECT CONTEXT_INFO() AS CONTEXT_INFO");
H A Dbug73725.phpt51 odbc_exec($conn, 'DROP TABLE bug73725');
H A Dbug73448.phpt24 $r = @odbc_exec($conn, $sql);
/PHP-8.1/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.c1268 PHP_FUNCTION(odbc_exec) in PHP_FUNCTION() argument

Completed in 26 milliseconds