I created a connection in vbScript to a SQL database. I set parameters to update the table. I used these settings:
objCmd.CommandText = sp_name
objCmd.CommandType = adCmdStoredProc
When I use "cmdObj.execute," I get the following error:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E30)
Parameter type is not supported.
I also tried "Set recordsetObj = cmdObj.execute" and I get the following error:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable
range, or are in conflict with one another.
objCmd.CommandText = sp_name
objCmd.CommandType = adCmdStoredProc
When I use "cmdObj.execute," I get the following error:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E30)
Parameter type is not supported.
I also tried "Set recordsetObj = cmdObj.execute" and I get the following error:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable
range, or are in conflict with one another.