Need to edge out the competition for your dream job? Train for certifications today.
Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.
' include adovbs file
Set cmd = Server.CreateObject("ADODB.Command")
.ActiveConnection = connMyConnection
.CommandType = adCmdStoredProc
.CommandText = "addNewThing" ' name of your stored procedure
.Parameters.Append .CreateParameter("@newThing",adVarWChar, adParamInput, 50)
.Parameters("@newThing") = widget
set rsName = .Execute
set cmd = nothing
set rs = nothing
Open in new window
Sql = " EXECUTE STP_CRMPOSITIVACAO " & Clie & ",-2 "
Call abre_conexao_hidrau ' open conection
Set Rs = Server.CreateObject("ADODB.RecordSet")
Rs.ActiveConnection = CnxHidrau
I tried this way: Rs.Open CnxHidrau.Execute(Sql)
I tried this way: set Rs = CnxHidrau.Execute(Sql)
If Not Rs.Eof Then
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.