/PHP-8.1/ext/odbc/tests/ |
H A D | odbc_exec_001.phpt | 2 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 D | odbc_exec_002.phpt | 2 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 D | bug68087.phpt | 2 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 D | bug69975.phpt | 12 @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 D | bug71171.phpt | 14 @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 D | odbc_free_result_001.phpt | 14 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 D | bug69354.phpt | 14 @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 D | bug60616.phpt | 2 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 D | bug44618.phpt | 12 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 D | bug80147.phpt | 13 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 D | bug80592.phpt | 12 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 D | bug47803.phpt | 40 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 D | bug80152.phpt | 12 odbc_exec($conn,"CREATE TABLE bug80152 (id INT, name CHAR(24))"); 24 odbc_exec($conn, "DROP TABLE bug80152");
|
H A D | odbc_persistent_close.phpt | 13 $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 D | bug73725.phpt | 51 odbc_exec($conn, 'DROP TABLE bug73725');
|
H A D | bug73448.phpt | 24 $r = @odbc_exec($conn, $sql);
|
/PHP-8.1/ext/odbc/ |
H A D | odbc_arginfo.h | 258 ZEND_FUNCTION(odbc_exec); 322 ZEND_FE(odbc_exec, arginfo_odbc_exec) 323 ZEND_FALIAS(odbc_do, odbc_exec, arginfo_odbc_do)
|
H A D | odbc.stub.php | 34 function odbc_exec($odbc, string $query) {} function
|
H A D | php_odbc.c | 1268 PHP_FUNCTION(odbc_exec) in PHP_FUNCTION() argument
|