Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/06/2002, 10:13
Avatar de bakanzipp
bakanzipp
 
Fecha de Ingreso: noviembre-2001
Ubicación: santiago de shilli
Mensajes: 2.554
Antigüedad: 23 años, 5 meses
Puntos: 0
Re: Procedimientos almacenados 2

via sql server te servira?

Código:
 

Set cn = server.createobject("ADODB.Connection") 
Set cmd = server.createobject("ADODB.Command") 

cn.ConnectionString = tu_conexion

With cmd 
Set .ActiveConnection = cn 
.CommandText = "tu_sp"
.CommandType = 4 
Set params = .Parameters 
End With 

params.Append cmd.CreateParameter("@input1", adVarChar, adParamInput, 3)
params.Append cmd.CreateParameter("@Input2", adVarChar, adParamInput, 4) 
params.Append cmd.CreateParameter("@output", adVarChar, adParamOutput, 255)
' 

params("@input1") = strvariable1
params("@input2") = strvariable2

cmd.Execute , , adExecuteNoRecords 

StrRespuesta = params("@output")

oye akela...con que ligas informix?...con db2 o algo asi?...yo recuerdo haber trabajo hace harto tpo con informix pero nunca use sp... que tal es el trato...vision unix?