Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> pass connection to external procedure

pass connection to external procedure

From: <JohnRonan_at_worldnet.att.net>
Date: Thu, 24 Sep 1998 00:21:04 GMT
Message-ID: <6uc39g$kis$1@nnrp1.dejanews.com>


I am writing a stored proc that calls out to an external procedure (Windows NT DLL). That DLL needs to do some database stuff, too, via ODBC (in C++). However, I do not want to establish another connection for each call into the DLL. Is there a way to communicate (pass) the database connection down to the DLL, so it can use it via ODBC? It seems to me that I must re-initialize the ODBC connection each time.

Am I missing something obvious?
thanks.

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Wed Sep 23 1998 - 19:21:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US