Home
last modified time | relevance | path

Searched refs:table_name (Results 1 – 25 of 90) sorted by relevance

1234

/PHP-8.2/ext/pgsql/tests/
H A D12pg_insert_9.phpt21 pg_insert($db, $table_name, $fields) or print "Error in test 1\n";
22 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
23 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
24 var_dump( pg_insert($db, $table_name, $fields, PGSQL_DML_EXEC) );
28 $converted = pg_insert($db, $table_name, [5 => 'AAA']);
33 $converted = pg_insert($db, $table_name, ['AAA']);
38 $converted = pg_insert($db, $table_name, ['num' => []]);
43 $converted = pg_insert($db, $table_name, ['num' => new stdClass()]);
48 $converted = pg_insert($db, $table_name, ['num' => $db]);
H A D13pg_select_9.phpt22 $res = pg_select($db, $table_name, $ids) or print "Error\n";
24 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
25 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
29 $converted = pg_select($db, $table_name, [5 => 'AAA']);
34 $converted = pg_select($db, $table_name, ['AAA']);
39 $converted = pg_select($db, $table_name, ['num' => []]);
44 $converted = pg_select($db, $table_name, ['num' => new stdClass()]);
49 $converted = pg_select($db, $table_name, ['num' => $db]);
H A D06copy.phpt14 $rows = pg_copy_to($db, $table_name);
16 pg_query($db, "DELETE FROM $table_name");
18 pg_copy_from($db, $table_name, $rows);
H A D10pg_convert_9.phpt20 $converted = pg_convert($db, $table_name, $fields);
26 $converted = pg_convert($db, $table_name, [5 => 'AAA']);
31 $converted = pg_convert($db, $table_name, ['AAA']);
36 $converted = pg_convert($db, $table_name, ['num' => []]);
41 $converted = pg_convert($db, $table_name, ['num' => new stdClass()]);
46 $converted = pg_convert($db, $table_name, ['num' => $db]);
H A D15pg_delete.phpt17 echo pg_delete($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
18 echo pg_delete($db, $table_name, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
19 if (!pg_delete($db, $table_name, $ids)) {
H A D04async_query.phpt14 if (!pg_send_query($db, "SELECT * FROM ".$table_name.";")) {
46 pg_num_rows(pg_query($db, "SELECT * FROM ".$table_name.";"));
47 pg_num_fields(pg_query($db, "SELECT * FROM ".$table_name.";"));
55 if (!pg_send_query($db, "INSERT INTO ".$table_name." VALUES (8888, 'GGG');"))
H A D23sync_query_params.phpt19 $result = pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100));
42 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
43 … pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
51 …$result = pg_query_params($db, "INSERT INTO ".$table_name." VALUES (\$1, \$2);", array(9999, "A'BC…
H A D14pg_update.phpt20 pg_update($db, $table_name, $fields, $ids) or print "Error in test 1\n";
21 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n";
22 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A D14pg_update_9.phpt22 pg_update($db, $table_name, $fields, $ids) or print "Error in test 1\n";
23 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n";
24 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A D25async_query_params.phpt19 if (!pg_send_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100))) {
50 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
51 … pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
59 …if (!pg_send_query_params($db, "INSERT INTO ".$table_name." VALUES (\$1, \$2);", array(9999, "A'BC…
H A Dconfig.inc10 $table_name = "php_pgsql_test"; // test table that will be created
16 $view_def = "CREATE VIEW {$view_name} AS SELECT * FROM {$table_name};";
19 $table_def = "CREATE TABLE {$table_name} (num int, str text, bin bytea);";
H A D32nb_async_query.phpt27 $nb_send = pg_send_query($db, "SELECT * FROM ".$table_name.";");
56 pg_num_rows(pg_query($db, "SELECT * FROM ".$table_name.";"));
57 pg_num_fields(pg_query($db, "SELECT * FROM ".$table_name.";"));
65 $nb_send = pg_send_query($db, "INSERT INTO ".$table_name." VALUES (8888, 'GGG');");
H A D30nb_async_query_params.phpt27 $sent = pg_send_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100));
55 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
56 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
64 $sent = pg_send_query_params($db, "INSERT INTO ".$table_name." VALUES (\$1, \$2);", array(9999, "A'…
H A D12pg_insert.phpt19 pg_insert($db, $table_name, $fields) or print "Error in test 1\n";
20 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
H A D13pg_select.phpt20 $res = pg_select($db, $table_name, $ids) or print "Error\n";
22 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
H A D18pg_escape_bytea_esc.phpt19 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');');
20 $result = pg_query($db, 'SELECT * FROM '.$table_name.' WHERE num = 9876');
H A D18pg_escape_bytea_hex.phpt22 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');');
23 $result = pg_query($db, 'SELECT * FROM '.$table_name.' WHERE num = 9876');
H A D31nb_async_query_prepared.phpt27 $nb_send = pg_send_prepare($db, 'php_test', "SELECT * FROM ".$table_name." WHERE num > \$1;");
70 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
71 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
79 $nb_send = pg_send_prepare($db, "php_test2", "INSERT INTO ".$table_name." VALUES (\$1, \$2);");
/PHP-8.2/ext/oci8/tests/
H A Dlob_011.phpt17 ".$schema.$table_name." (id, blob)
32 ".$schema.$table_name." (id, blob)
45 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 1";
51 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 2 FOR UPDATE";
62 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 2 FOR UPDATE";
H A Dlob_030.phpt45 insert_verify($c, $schema.$table_name, 1, 1050000);
48 insert_verify($c, $schema.$table_name, 2, 1050001);
51 insert_verify($c, $schema.$table_name, 3, 1048576);
54 insert_verify($c, $schema.$table_name, 4, 1049028);
57 insert_verify($c, $schema.$table_name, 5, 1049028-1);
60 insert_verify($c, $schema.$table_name, 6, 1049028+1);
H A Dcreate_table.inc6 "DROP TABLE ".$schema.$table_name,
7 …"CREATE TABLE ".$schema.$table_name." (id NUMBER, value NUMBER, blob BLOB, clob CLOB, string VARCH…
H A Dlob_035.phpt17 ".$schema.$table_name." (id, blob)
33 ".$schema.$table_name." (id, blob)
46 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 1";
52 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 2 FOR UPDATE";
89 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 2 FOR UPDATE";
H A Dlob_038.phpt19 ".$schema.$table_name." (clob)
41 $s = oci_parse($c,"select clob from ".$schema.$table_name);
51 $s = oci_parse($c, "select clob from ".$schema.$table_name);
67 ".$schema.$table_name." (blob)
88 $s = oci_parse($c, "select blob from ".$schema.$table_name);
95 $s = oci_parse($c, "select blob from ".$schema.$table_name);
H A Dpecl_bug10194.phpt23 ".$schema.$table_name." (clob)
30 $ora_sql = "SELECT clob FROM ".$schema.$table_name." FOR UPDATE";
44 $ora_sql = "SELECT clob FROM ".$schema.$table_name."";
/PHP-8.2/ext/mysqli/tests/
H A Dlocal_infile_tools.inc21 function check_local_infile_support($link, $engine, $table_name = 'test') {
27 if (!mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name))) {
32 $table_name, $engine)))
37 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name));
46 $table_name))) {
48 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name));
54 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name));

Completed in 15 milliseconds

1234