Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/08/2007, 07:16
y_aki_estoy
 
Fecha de Ingreso: mayo-2007
Mensajes: 5
Antigüedad: 17 años
Puntos: 0
Pregunta Problemas con mssql_execute

Hola tengo problemas al llamar a mi procedimiento almacendo este es mi codigo, el procedimiento solo hace un insert espero me puedan ayudar

$spAT = @mssql_init("A_TICKET",$link)or die("problemas al conectar el sp");
@mssql_bind($spAT, "@NOTICKET",$noticket,SQLINT4,TRUE)OR die ("Error 1");
@mssql_bind($spAT, "@CLIENTE",$cliente ,SQLVARCHAR,TRUE)OR die ("Error 2");
@mssql_bind($spAT, "@FECHA",$fecha ,SQLVARCHAR,TRUE)OR die ("Error 3");
@mssql_bind($spAT, "@DETALLE",$detalle ,SQLVARCHAR,TRUE)OR die ("Error 4");
@mssql_bind($spAT, "@PRIORIDAD ",$prioridad,SQLINT4,TRUE)OR die ("Error 5");
@mssql_bind($spAT, "@CLASIFICACION ",$clase,SQLINT4,TRUE)OR die ("Error 6");
$resultAT=mssql_execute($spAT)or die ("PROBLEMAS AL CONECTARSE AL SP");