Unix Technical Forum

Creating & Using Package in Current Session

This is a discussion on Creating & Using Package in Current Session within the Oracle Database forums, part of the Database Server Software category; --> If I create a package in my current session, can I start using this package right away without needing ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 08:09 AM
klabu
 
Posts: n/a
Default Creating & Using Package in Current Session

If I create a package in my current session,
can I start using this package right away without needing to re-connect

--
10gR2


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-25-2008, 08:09 AM
fitzjarrell@cox.net
 
Posts: n/a
Default Re: Creating & Using Package in Current Session


klabu wrote:
> If I create a package in my current session,
> can I start using this package right away without needing to re-connect
>
> --
> 10gR2


Why would you need to reconnect to use a package you created? Once
it's created it's available for use to all who have access to it. If
you write a C program and compile it into an executable you don't need
to log out and log in again to use it, do you? Objects are not like
grants.


David Fitzjarrell

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-25-2008, 08:09 AM
Mark D Powell
 
Posts: n/a
Default Re: Creating & Using Package in Current Session



On Oct 27, 2:34 pm, "klabu" <nosuchuser_at_gmail_dot_com> wrote:
> If I create a package in my current session,
> can I start using this package right away without needing to re-connect
>
> --
> 10gR2


Duh, create one and execute it to find out!

You will discover the answer is yes, you can.

HTH -- Mark D Powell --

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-25-2008, 08:09 AM
klabu
 
Posts: n/a
Default Re: Creating & Using Package in Current Session


"Mark D Powell"
> Duh, create one and execute it to find out!
> You will discover the answer is yes, you can.
> HTH -- Mark D Powell --


thanks I have done that before
I was just wondering if there is any "issue" or "side-effects" in doing
this.
For a long time I have made the habit of disconnect after re-compiling then
re-connect

only this time I'm wrting this script that need to create the packages &
call them right after


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com