
executing a stored procedure in oracle using ADO
Currently only Oracle's "Oracle Provider for OLE DB" can return a
reference cursor parameter into an ADO recordset and the Oracle driver
for ODBC can return a recordset using Oracle's PL/SQL tables.
Check out http://www.digitaltier.com/knowledge/ for a detailed
discussion on how to retrieve an ADO Recordset using Oracle stored
procedures and PL/SQL table.
JH
Quote:
> Aruna,
> Take a look at the following MS KB article:
> http://support.microsoft.com/support/kb/articles/q176/0/86.asp
> --
> Thanks,
> Carl Prothman
> Microsoft Visual Basic MVP
> http://www.able-consulting.com
...
Quote:
> > My head is so meesed up this afternoon. Can someone give me a code
> > snippet or tell me the syntax to execute a stored procedure in
oracle.
> > I have a stored proc. that takes in a parameter. ex. the stored
proc.
> > IS:
> > CREATE OR REPLACE STORED PROCEDURE JOBS(V_JOB VARCHAR(20) IN) AS
> > SELECT ENAME, HIREDATE FROM EMP WHERE JOB = V_JOB
> > /
> > So, well i need to pass a parameter through Visual Basic to this
stored
> > proc and get a record set out. There can be several records that
match
> > this parameter.
> > Can please someone help me on this.... please please......
> > Thanks in advance and thanx a million.
> > aruna
Sent via Deja.com http://www.deja.com/
Before you buy.