added more descriptions
This commit is contained in:
parent
a789e0864b
commit
ab0e50a4fb
|
@ -1,5 +1,5 @@
|
|||
--TEST--
|
||||
Fetch array using a scrollable buffered cursor with connection CharacterSet utf-8
|
||||
Fetch array of extended ASCII data using a scrollable buffered cursor
|
||||
--SKIPIF--
|
||||
<?php require('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
@ -16,12 +16,11 @@ $query = "CREATE TABLE $tableName (ID CHAR(10))";
|
|||
$stmt = sqlsrv_query($conn, $query);
|
||||
|
||||
// Insert data
|
||||
$query = "INSERT INTO $tableName VALUES ('Aå_Ð×Æ×Ø_B')"; // Ð×Æ×Ø
|
||||
$query = "INSERT INTO $tableName VALUES ('Aå_Ð×Æ×Ø_B')";
|
||||
$stmt = sqlsrv_query($conn, $query) ?: die(print_r( sqlsrv_errors(), true));
|
||||
|
||||
// Fetch data
|
||||
$query = "SELECT * FROM $tableName";
|
||||
// $stmt = sqlsrv_query($conn, $query)
|
||||
$stmt = sqlsrv_query($conn, $query, [], array("Scrollable"=>"buffered"));
|
||||
if( $stmt === false)
|
||||
die( print_r(sqlsrv_errors(), true));
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
--TEST--
|
||||
False connection with LoginTimeout option
|
||||
--DESCRIPTION--
|
||||
Intentionally provide an invalid server name and set LoginTimeout. Verify the time elapsed.
|
||||
--SKIPIF--
|
||||
<?php require('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
--TEST--
|
||||
Connection option APP unicode
|
||||
--DESCRIPTION--
|
||||
Connect using a Unicode App name. Once connected, fetch APP_NAME.
|
||||
--SKIPIF--
|
||||
<?php require('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
--TEST--
|
||||
Query non-ascii strings: sqlsrv_fetch_array
|
||||
--DESCRIPTION--
|
||||
Test sqlsrv_fetch_array() with non-ASCII values
|
||||
--SKIPIF--
|
||||
<?php require('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
--TEST--
|
||||
Extended ASCII column names: sqlsrv_fetch_array()
|
||||
--DESCRIPTION--
|
||||
Create a temporary table with column names that contain extended ASCII characters. Fetch data afterwards
|
||||
using sqlsrv_fetch_array.
|
||||
--SKIPIF--
|
||||
<?php require('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
--TEST--
|
||||
Query with extended ASCII column names, sqlsrv_num_fields()
|
||||
--DESCRIPTION--
|
||||
Create a temporary table with column names that contain extended ASCII characters. Get number of fields
|
||||
using sqlsrv_num_fields.
|
||||
--SKIPIF--
|
||||
<?php require('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
--TEST--
|
||||
Insert binary HEX data into nvarchar field then read it back using sqlsrv_get_field()
|
||||
Insert binary HEX data then fetch it back as string
|
||||
--DESCRIPTION--
|
||||
Insert binary HEX data into an nvarchar field then read it back as UTF-8 string using sqlsrv_get_field()
|
||||
--SKIPIF--
|
||||
<?php require('skipif.inc'); ?>
|
||||
--FILE--
|
||||
|
|
Loading…
Reference in a new issue