|
|
Re: asp -> stored procedures not using adobdb.command? [message #224975 is a reply to message #224812] |
Fri, 16 March 2007 04:09 |
cefb
Messages: 56 Registered: March 2007
|
Member |
|
|
if i have
create or replace procedure (my_cursor out sys_refcursor)
...
...
...
in my asp page i have
dbconn=Server.CreateObject("adodb.connection")
then i have
objCommand = Server.CreateObject("ADODB.Command")
objCommand.ActiveConnection = objConn
objCommand.CommandType = adCmdStoredProc
objCommand.CommandText = "getemp"
objCommand.Parameters.Append objCommand.CreateParameter("param1", adInteger, adParamInput, 10, 0)
rs = Server.CreateObject("ADODB.Recordset")
rs = objCommand.Execute
My question is if i can execute and get the cursor data using only adodb.connection and/or adodb.recordset
Thanks
|
|
|
|