PHP Velho Oeste 2024

Constantes predefinidas

Estas constantes están definidas por esta extensión y estarán disponibles sólo cuando la extensión haya sido compilada con PHP, o bien sea cargada dinámicamente en ejecución.

MSSQL_ASSOC (integer)
Devuelve un array asociativo. Utilizado en el parámetro result_type de la función mssql_fetch_array() .
MSSQL_NUM (integer)
Devuelve un array con claves numéricas. Utilizado en el parámetro result_type de la función mssql_fetch_array() .
MSSQL_BOTH (integer)
Devuelve un array con claves numéricas así como claves con sus nombres de campo. Este es el valor por defecto para el parámetro result_type de la función mssql_fetch_array() .
SQLTEXT (integer)
Indica el tipo 'TEXT' en MSSQL, utilizado por el parámetro type de la función mssql_bind() .
SQLVARCHAR (integer)
Indica el tipo 'VARCHAR' en MSSQL, utilizado por el parámetro type de la función mssql_bind() .
SQLCHAR (integer)
Indica el tipo 'CHAR' en MSSQL, utilizado por el parámetro type de la función mssql_bind() .
SQLINT1 (integer)
Representa un byte, con un rango de -128 a 127.
SQLINT2 (integer)
Representa dos bytes, con un rango de -32768 a 32767.
SQLINT4 (integer)
Representa cuatro bytes, con un rango de -2147483648 a 2147483647.
SQLBIT (integer)
Indica el tipo 'BIT' en MSSQL, utilizado por el parámetro type de la función mssql_bind() .
SQLFLT4 (integer)
Representa un float de cuatro bytes.
SQLFLT8 (integer)
Representa un float de ocho bytes.
add a note add a note

User Contributed Notes 2 notes

up
0
emigort at gmail dot com
11 years ago
For MSSQL data type bigint use
SQLFLT8  type parameter on mssql_bind
up
0
plee61 at hotmail dot com
16 years ago
SQLINT1 represents one byte, range -128 to 127
SQLINT2 represents two bytes, range -32768 to 32767
SQLINT4 represents four bytes, range -2147483648 to 2147483647
To Top