Conversión de tipos

From: Date: Fri, 23 Feb 2001 08:09:33 +0000
Subject: Conversión de tipos
Groups: php.general.es 
Request: Send a blank email to general-es+get-7426@lists.php.net to get a copy of this message
Buenass: Me aparece el siguiente error: Warning: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to numeric., SQL state 37000 in SQLExecDirect in E:/Netscape/Server4/docs/pruebas/hk3r$5d982.php3 on line 340 .... cuando quiero convertir la variable $Expe de tipo 'nvarchar' a 'integer' usando la función $Expe=settype($Expe,"integer"); ¿Alguna idea? -VICTOR-

« previous php.general.es (#7426) next »