How to put connect in the package body

Oracle 10.2 on Windows 2003
I have package body as follows: in the code, I want to connect to different user. what's the correct syntax?
create or replace package body xxx as
procedure abc1 is
begin
connect username/password@sid name.
select * from table
end;
Thanks
S

Actuall, my problem is solved. Thank you very much.please close the thread as answered. so that users of OTN can look into some other threads.

Similar Messages

  • How can i see the package body?

    Hello.
    what is the table name that sotres the package body?

    The table is user_source or dba_source. Make sure you order by
    line when you select from it.

  • I have a new time capsule (replace my old time capsule).  I want to erase my old one.  My computer does not see the old one anymore, how do I connect it (the old TC is not connected to modem)

    I have a new time capsule (replace my old time capsule).  I want to erase my old one.  My computer does not see the old one anymore, how do I connect it (the old TC is not connected to modem).  I want to erase it and then use it as either a second hard drive (sired/sirelesly?) or as a hard drive/bridge.  So,
    1.  why doesn't my cmputer see the old TC
    2  once i have solved that, how do I erase the old one
    3.  Can I use the old one as a supplemental hard drive
         a.  wired?
         b. wirelessly?
    4.  Can I use the old one as a range extender?
    I know .. a lot of questions but I would appreciate any help.
    Thanks

    sgetraer wrote:
    I have a new time capsule (replace my old time capsule).  I want to erase my old one.  My computer does not see the old one anymore, how do I connect it (the old TC is not connected to modem).  I want to erase it and then use it as either a second hard drive (sired/sirelesly?) or as a hard drive/bridge.  So,
    1.  why doesn't my cmputer see the old TC
    2  once i have solved that, how do I erase the old one
    3.  Can I use the old one as a supplemental hard drive
         a.  wired?
         b. wirelessly?
    4.  Can I use the old one as a range extender?
    I know .. a lot of questions but I would appreciate any help.
    Thanks
    1. Because it is either the same IP as the new one or hidden by being plugged in as a second router.
    To access it, isolate one computer from the existing network and plug it directly by ethernet to a lan port of the TC. Use the erase function in the TC to remove all the content of the hard disk.
    Then go to the internet tab, connection sharing and select off bridged. You can then reconnect the TC to the network.. and the computer as well. The TC will act as bridged device.. getting IP from the main router and should then appear correctly in Airport utility.
    2. I covered in 1. But you just go in airport utility manual setup. disk, and you will see the erase function. You can also set it to bridge and leave the erase until you put it back in the network.. but be careful you erase the right one.
    3. You can use the old TC via wired or wireless.. although I would always stick to wired connection if possible. Speed on wireless is 10x worse than wired.
    Also note the reliability goes down dramatically after 2 years.. a series 1 3 years old or more is ebay fodder unless you want to repair it. Do not trust vital data to it.. when it dies you will have issues recovering it.
    4. Yes, all apple routers will function as wireless extenders. when you do that the ethernet ports turn off so it becomes a purely wireless device.. strange apple decision on what you want to use your TC for.

  • How do I connect to the internet with my new IPAD ?

    How do I connect to the internet with myt new Ipad

    See here for connecting to the Internet:
    http://support.apple.com/kb/HT1695
    If you have any problems there is troubleshooting advice here: http://www.apple.com/support/ipad/wifi/

  • How do i connect to the internet with my ipad?

    how do i connect to the internet with my ipad?

    Did you turn WiFi on in the Settings App? If WiFi is turned on, your iPad should be able to see any WiFi networks that you can connect to and you should be able to tap on one of those, enter a password if needed and then tap the join button.
    I get the feeling that you know this and the problem needs further explanation so ... Can you explain in more detail?

  • How do i connect to the internet with apple tv

    how do i connect to the internet with apple tv

    Ethernet cable from your router, or configure wifi in Settings.

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • How to put distinct in the query

    Hi all,
    How to put distinct in the query.I checked in RPD , Distinct supported is already available. I marked the distinct check box in advance option still then i'm not getting distinct in the query.
    any idea , please help...

    In the RPD i have join between base table and view .i'm selecting 2 columns one from base table and other from view . which gives cartesian product . to avoid that i want to put distinct . I'm not using any measure . I'm taking direct columns.
    I'm getting distinct keyword if i'm accessing the report directly . but when i'm accessing it from dashboard in the back end while preparing the query it's writing distinct but the actual query which is sending to db does not have distinct.
    ==================================================
    RqList distinct
    VW_SCNR_114000074_TA_DATA.Match Identifier as c1 GB,
    VW_SCNR_114000074_TA_DATA.Tot Trans Amt as c2 GB,
    VW_SCNR_114000074_TA_DATA.Tot Trans Ct as c3 GB,
    case when VW_SCNR_114000074_TA_DATA.Alert Quality Code = '1' then 'Productive' when VW_SCNR_114000074_TA_DATA.Alert Quality Code = '2' then 'Non Productive' else 'Indeterminate' end as c4 GB,
    VW_SCNR_114000074_TA_DATA.Batch Identifier as c5 GB
    DetailFilter: Alert TA Data.Run Id > 0 and Alert Scenarios.Scenario Name = 'ScnroName' and Alert TA Data.Batch Id > 0
    OrderBy: c4 desc
    =================================================
    -------------------- Sending query to database named KYC1.1DEV-179 (id: <<16315>>):
    select T353.BATCH_ID as c1,
    case when T353.QLTY_RTG_CD = '1' then 'Productive' when T353.QLTY_RTG_CD = '2' then 'Non Productive' else 'Indeterminate' end as c2,
    T353.TOT_TRXN_CT as c3,
    T353.TOT_TRXN_AM as c4,
    T353.BREAK_ID as c5,
    T117.SCNRO_NM as c6
    from
    KDD_SCNRO T117,
    KDD_TA_DATA T130,
    KDD_TSHLD_SET T171,
    VW_SCNR_114000074_TA_DATA T353
    where ( T117.SCNRO_ID = T130.SCNRO_ID and T117.SCNRO_ID = T171.SCNRO_ID and T130.SCNRO_ID = T171.SCNRO_ID and T130.SCNRO_ID = T353.SCNRO_ID and T130.TSHLD_SET_ID = T171.TSHLD_SET_ID and T171.SCNRO_ID = T353.SCNRO_ID and T171.TSHLD_SET_ID = T353.TSHLD_SET_ID and 0 < T130.BATCH_ID and 0 < T130.RUN_ID )

  • How to put wallpaper on the homescreen on ipod touch 3g?

    I have an ipod 3g and I am wondering how to put wallpaper on the homescreen,I tired to go to settings,but it still won't work??

    Just so we don't spin our wheels, please confirm that it is indeed 3rd-gen (there was a 32GB 2nd-gen iPod touch). You may well be correct, but other people have been mistaken in what they have, so I've learned to confirm. The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the iPod. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.
    Assuming you do indeed have a 3rd-gen iPod, what version of iOS is it running? And when you say "won't work", do you mean that you don't see the option, or you see the option but when you try and change the wallpaper it doesn't change?
    Regards.

  • Sorry if tis is naive.  I have just bought my first iPad Retina Display.  I have WiFi at home but it has taken ages for me to connect as I needed all sorts of codes, passwords, detauils etc.   How does one connect to the web (Google) when one is out and a

    Sorry if this is a bit naive.  I have just bought my first iPad (Retina Display).  I have WiFi at home but it has taken me ages to get on-line as I needed all sorts of codes, passwords, numbers etc.
    How does one connect to the web (Google) when one is out and about?
    Thanks

    haha, You're welcome
    Maybe these links will be useful
    ipad manual/user guide
    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
    ipad support page
    http://www.apple.com/support/ipad/
    ipad assistant
    http://www.apple.com/support/ipad/assistant/

  • I have bought a Macbook Pro Retina, and the iPhoto which comes with it, has a different iPhoto Book menu.  I cannot see how to put text at the bottom of the pages of photographs, instead of the default place in the middle.  Is there a way to do this?

    I have bought a Macbook Pro Retina, and the iPhoto which comes with it, has a different iPhoto Book menu.  I cannot see how to put text at the bottom of the pages of photographs, instead of the default place in the middle.  Is there a way to do this?

    There are different templates for iPhoto books and they differ from version of iPhoto to iPhoto, so explore the other options.

  • Query to get the contents of the package body

    What is the query that can be used to get the contents of the package body?

    SELECT LINE FROM ALL_SOURCE WHERE TEXT LIKE '%<search_criteria>%'; ???
    SQL> SELECT LINE FROM ALL_SOURCE WHERE TEXT LIKE '%dbms_output%';
                    LINE
                     166
                     168
                     170
                     173
                     174
                     176
                     178
                     180
                       1
                      23
                      24
                      28
                      44
                      52
                      82
    ...

  • How to put name in the application toolbar

    how to put name on the button in the application tool bar while it is created with selection screen

    I've never seen this done this way.  Learn something new everyday.  Anyway, here is a sample program that will show you what you need to do to add text to your function button,  this also adds an icon.
    report zrich_0002.
    Tables: sscrfields.
    selection-screen function key 1.
    select-options: s_datum for sy-datum.
    INITIALIZATION.
      MOVE '@49@ Export'  TO SSCRFIELDS-FUNCTXT_01. "ICON_EXPORT
    If this has solved your problem, please award points accordingly and mark this post as solved.  Thanks.
    Regards,
    Rich Heilman

  • How do i connect to the blackberry BIS network

    how do i connect to the blckberry BIS network

    Hi bevels
    Welcome to the Community
    In order to Connect  or to have BlackBerry Internet Service in your Account you have to call your Carrier or Wireless Service Provider. They can add a BIS in your Account.So call your Carrier.
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • How do I connect to the iTunes Store?

    How do I connect to the iTunes Store?

    Look through both of these and see if there is something that will work for you.
    Can't connect to the iTunes Store - Support - Apple
    Best Fixes for 'Cannot Connect to iTunes Store' Errors | iPad Insight

Maybe you are looking for

  • TV Series on another mac?

    Hi, I bought an entires season of a TV series on one of my Macs and have watched it all on Apple TV. Now I want to have the series on my MacBookPro to be able to watch when traveling, How can I transfer the episodes from my iMac to my MBP? Or can I r

  • How to create CRUD application using bapi in webdynpro java

    Hi All,       I have implemented the CRUD application using bapi  Now i want to create, retrieve , update and delete the existing table by click on Insert, delete, retrieve ,and update button dynamically. i get null values from database,  Please let

  • Ref_code tables not required but generated

    Hi. I don't use any ref_codes tables in my application. But when generating table API I always obtain this part of the *.PKB script for every table: PROCEDURE validate_domain(cg$rec IN OUT cg$row_type, cg$ind IN cg$ind_type DEFAULT cg$ind_true) IS cu

  • Oddities with configuration of VI server

    Dear LV specialist, my LV application is divided into a remote and a local part. I now want to set values within a global VI (which is part of my local application) from my remote application and simultaneously do some event registration on this glob

  • GRUB2 Install Failing on MSI GD-53

    Following the instructions on https://wiki.archlinux.org/index.php/GRUB2: I can create and mount the EFI partition fine, and the installation process seems to work absolutely fine up to the point where I input # modprobe efivars At which point I get