Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: executing a stored procedure thru ODBC
Hi Bill,
here's an VB3-example:
function fSAVEVALUES() as Integer
...
...
szLclSQL = "BEGIN PACK_PROVABRECHNUNG.FAELLIGKEITAENDERN_NT(" szLclSQL = szLclSQL & dwGblProv_OP & "," 'SP's parameter szLclSQL = szLclSQL & "'" & Trim$(sitxtDatum) & "'" 'SP's parameter szLclSQL = szLclSQL & ");END;" fSAVEVALUES = (dbGblMakler.ExecuteSQL(szLclSQL) > 0) 'Returnsthe number of rows affected
Keep in mind that in VB3 'ExecuteSQL' autocommits! If you don't want this, try 'Execute szLclSQL, SQL_PASSTHROUGH' where SQL_PASSTHROUGH has the value 64.
Bill Johnston wrote:
>
> Anyone know how to execute an Oracle stored procedure thru Access97?
>
> Thanks,
> whj2_at_erols.com
-- Regards Matthias Gresz :-)Received on Thu Jan 22 1998 - 00:00:00 CST