🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by Michael Kim Thu, 19 Apr 2001 16:40
question
#677
Author: Michael Kim
Date: Thu, 19 Apr 2001 16:40
17 lines
1877 bytes
Hello,

I have a question.  How can I pass the current connection to a (UDF)user
defined function from within a stored procedure.  I would like to use the
connection that is active while I am in my stored procedure rather than
having to call the API function for connecting and disconnecting to the
database from within my UDF that exists within my host language DLL that
resides on the machine where Interbase Server is located.  Since, I need a
connection to call my stored procedure in the first place from my client
machine can I get the connection handle from my client side and pass it  to
the stored procedure or should I grab the connection handle from within the
Stored Procedure and pass along to my UDF.  Based on my programming of the
UDF using API functions the connection handle returned appears to be just an
integer value, so is this value unique to my server machine?

Thank You.  I would appreciate any assistance.
Michael
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads