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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: change a database connection in a stored procedure?

Re: change a database connection in a stored procedure?

From: Daniel Wisser <daniel.wisser_at_isis-papyrus.com>
Date: Tue, 07 May 2002 06:18:25 -0800
Message-ID: <F001.00459D56.20020507061825@fatcity.com>


hi!

i don't quite understand the problem, but it seems that while running a script you want to build a second connection

you can do this if you build the connection with

HOST SQLPLUS xxx/yyy_at_zzz

with the first EXIT you disconnect from connection 2 and with the second one from connection 1

bye
daniel

kranti pushkarna wrote:
>
> Hi Sergey,
> I am using dynamic SQL but it is returing error for connect statement. Can u
> give me some example code.
>
> Rgds
> Kranti
> -----Original Message-----
> Sent: Tuesday, May 07, 2002 7:38 AM
> To: Multiple recipients of list ORACLE-L
>
> Hello kranti,
>
> Use dynamic SQL.
>
> Monday, May 06, 2002, 8:23:29 PM, you wrote:
>
> kp> Hi List,
> kp> Can someone tell me is it possible to change a database
> connection
> kp> in a stored procedure? if so how?
> kp> TIA
> kp> Kranti
>
> --
> Best regards,
> Sergey mailto:dsv_at_pptus.oilnet.ru
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Sergey V Dolgov
> INET: dsv_at_pptus.oilnet.ru
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: kranti pushkarna
> INET: kranti_pushkarna_at_staarship.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Daniel Wisser, Mag.

ISIS Information Systems
Alter Wienerweg 12
A-2344 Ma. Enzersdorf, Austria

Phone: +43-2236-27551-149
Fax: +43-2236-21081
E-mail: daniel.wisser_at_isis-papyrus.com

Hotline: +43-2236-27551-111

Visit the ISIS Website: http://www.isis-papyrus.com

---------------------------------------------------------------
This e-mail is only intended for the recipient and not legally 
binding. Unauthorised use, publication, reproduction or 
disclosure of the content of this e-mail is not permitted.
---------------------------------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Daniel Wisser
  INET: daniel.wisser_at_isis-papyrus.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue May 07 2002 - 09:18:25 CDT

Original text of this message

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