Doubt with stored procedure

0

Hi guys I have a question, I have a code in ASP in which a stored procedure calls this procedure what it does is update my data in my BD, but when trying to update it does not:

<%@Language=VBScript%>
<%option explicit%>

 <!--#include virtual="sub_bd.asp"-->

 <%

  dim i, Q
  dim nombre_tipo, msj,id

' obtener valores
  nombre_tipo = request.form("tipo_auto")
  id = request.form("id_tipo")

  response.write ("nombre_tipo ->"& nombre_tipo &"<br />")
  response.write ("id ->"& id &"<br />")
  response.end

  msj = exeDBT("EXEC [dbo].[SP_Arriendo_TipoAuto_U] '"& nombre_tipo &"''"& id &"';")

  response.redirect("index2.asp?m=27")

  %>
    
asked by Daniela 07.11.2018 в 21:17
source

0 answers