
Como obtener el valor de un LVARCHAR
Publicado por Favian Perez (4 intervenciones) el 23/05/2014 04:35:55
Description:
------------
how can get lvarchar value from table
Reproduce code:
---------------
$con = ifx_connect(ID,USER,PASSWORD);
ifx_textasvarchar(0);
// u_address is lvarchar type
$stmt = ifx_prepare("Select u_address from customer",$con);
ifx_do($stmt);
$row=ifx_fetch_row($stmt);
$u_address = $row["u_address"];
Expected result:
----------------
$u_address="111 tonducthang"
Actual result:
--------------
ESQL/C : u_address : unsupported field type[0]
------------
how can get lvarchar value from table
Reproduce code:
---------------
$con = ifx_connect(ID,USER,PASSWORD);
ifx_textasvarchar(0);
// u_address is lvarchar type
$stmt = ifx_prepare("Select u_address from customer",$con);
ifx_do($stmt);
$row=ifx_fetch_row($stmt);
$u_address = $row["u_address"];
Expected result:
----------------
$u_address="111 tonducthang"
Actual result:
--------------
ESQL/C : u_address : unsupported field type[0]
Valora esta pregunta


0