I have an ASP code calling an Oracle stored procedure with IN parameters. Code written as shown below:
<%
Dim Cnn
Dim Cmd
Set Cnn = Server.CreateObject("ADODB.Connection"
Set Cmd = Server.CreateObject("ADODB.Command"
Cnn.Open DBCONN
Set Cmd.ActiveConnection = Cnn
Cmd.CommandText = "SP1('" & param1 & "','" & param2 & "'," & param3 & "
"
Cmd.CommandType = adCmdStoredProc
Cmd.Execute
%>
I am encountering the following errors:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Oracle][ODBC Oracle Driver][Oracle OCI]ORA-06550: line 1, column 7: PLS-00201: identifier 'SP1' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored.
As far as stored procedure's code is concerned, it is working properly as I have tested it using TOAD.
What could have been wrong with this? Please help me. Would also appreciate if you can give me helpful links such as documentations, etc.
;-)
<%
Dim Cnn
Dim Cmd
Set Cnn = Server.CreateObject("ADODB.Connection"
Set Cmd = Server.CreateObject("ADODB.Command"
Cnn.Open DBCONN
Set Cmd.ActiveConnection = Cnn
Cmd.CommandText = "SP1('" & param1 & "','" & param2 & "'," & param3 & "
Cmd.CommandType = adCmdStoredProc
Cmd.Execute
%>
I am encountering the following errors:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Oracle][ODBC Oracle Driver][Oracle OCI]ORA-06550: line 1, column 7: PLS-00201: identifier 'SP1' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored.
As far as stored procedure's code is concerned, it is working properly as I have tested it using TOAD.
What could have been wrong with this? Please help me. Would also appreciate if you can give me helpful links such as documentations, etc.
;-)