Subject | Re: [ib-support] Connect to DB from Procedure ?? |
---|---|
Author | Helen Borrie |
Post date | 2001-08-08T06:44:09Z |
At 03:43 PM 07-08-01 +0100, Damian Dowling wrote:
Is there a reason why you can't have your application make a connection to the other database through the client, as usual?
regards,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>HiNo, a stored procedure can only perform data manipulation; and it can't be a "client" to the server since it runs inside the server, not through the client library.
>
>Is it possible to connect to Database B from a Procedure in Database A, e.g.
>
>from within a procedure:
>
> CONNECT 'c:\Program Files\Firebird\isc4.gdb' USER 'SYSDBA'
>PASSWORD 'masterkey';
Is there a reason why you can't have your application make a connection to the other database through the client, as usual?
regards,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________