Searched refs:odbc_exec (Results 1 – 13 of 13) sorted by relevance
/PHP-7.1/ext/odbc/tests/ |
H A D | odbc_exec_001.phpt | 2 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 D | odbc_exec_002.phpt | 2 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'); 25 odbc_exec($conn, 'DROP TABLE FOO'); 27 odbc_exec($conn, 'DROP DATABASE odbcTEST');
|
H A D | bug68087.phpt | 2 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 D | bug69975.phpt | 10 @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 D | bug71171.phpt | 12 @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) . "'"); 38 odbc_exec($conn, 'DROP TABLE FOO'); 39 odbc_exec($conn, 'DROP DATABASE odbcTEST');
|
H A D | bug69354.phpt | 12 @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"); 40 odbc_exec($conn, 'DROP TABLE FOO'); 41 odbc_exec($conn, 'DROP DATABASE odbcTEST');
|
H A D | odbc_free_result_001.phpt | 12 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'); 30 odbc_exec($conn, 'DROP TABLE FOO'); 32 odbc_exec($conn, 'DROP DATABASE odbcTEST');
|
H A D | bug60616.phpt | 2 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 D | bug47803.phpt | 38 odbc_exec($link, 'CREATE DATABASE odbcTEST'); 39 odbc_exec($link, $create_table); 40 odbc_exec($link, $inserts); 180 odbc_exec($conn, 'DROP TABLE FOO'); 181 odbc_exec($conn, 'DROP DATABASE odbcTEST');
|
H A D | bug73725.phpt | 51 odbc_exec($conn, 'DROP TABLE bug73725');
|
H A D | bug73448.phpt | 22 $r = @odbc_exec($conn, $sql);
|
/PHP-7.1/ext/odbc/ |
H A D | php_odbc.h | 63 PHP_FUNCTION(odbc_exec);
|
H A D | php_odbc.c | 343 PHP_FE(odbc_exec, arginfo_odbc_exec) 384 PHP_FALIAS(odbc_do, odbc_exec, arginfo_odbc_exec) 1629 PHP_FUNCTION(odbc_exec) in PHP_FUNCTION() argument
|
Completed in 18 milliseconds