Using The Connect Command

Hi,
If i want to connect from one instance to several instances then from SQL plus I can use connect command and connect one by one.
But when i am writing a PL SQL package does the same trick works?
means For Instance A(sysdate :: 22/07/07) and B(sysdate:: 21/07/07)
If the package is in B
then
BEGIN
DBMS_OUTPUT.PUT_LINE(TO_CHAR(SELECT SYSDATE FROM DUAL));
CONNECT B (USER/PASS);
DBMS_OUTPUT.PUT_LINE(TO_CHAR(SELECT SYSDATE FROM DUAL));
DISCONNECT;
END;
WILL IT PRINT TWO DIFFERENT DATE??
Pls Advice..
Thanks in advance..
Thanks,
Ru

The Statement that I used is just for explanation. I didn't tried it to print. However DBLinks couldn't be created. This Package is Only for Reproting Purpose and Creating DBLINK will Not be Allowed.
Besides If a new Instance Comes into Picture Then I have to create DBLINK for that also.
When SQL plus connect to a instance using TNS entry-- I want to know how the connection object is achieved and used. IP/Prot/SID/User/pass will be provided by User.
Let me explain the problem first. I want a Package in one instance. It has a procedure to generate a report. Now all the instances are identical. So, the package will connect to any instance and thus the report could be generated for any instances without deploying the package in each instance.
Plesae assist me what should be the best approach.(DBLINK Couldn't be created)
Thanks in advance..

Similar Messages

  • How to change button names linked with the 'connect command?'

    Hi,
    I have linked a button in the sequence view to the Exeution entry point 2 (Single Pass) using the 'Connect command'. The button now displays 'Single Pass' as its caption name while running. I want to give a custom name to this button, but it should still be connected to the single pass function. How can rename it?
    Regards
    Gopal

    Hi,
    see this link: http://forums.ni.com/ni/board/message?board.id=330&message.id=7318&query.id=380755#M7318
    You will find the Text for the buttons in one of the ini files. Use the CustomStrings.ini to define your new text, which will override the text defined in the other ini file located in the NI folder when the Operator Interface or SeqEditor first launched and loads the various resources.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Help using the Connection Trunk command

    Hello Group,
    I could use a bit of assistance accomplishing the following.
    I have two Cisco 1760 Routers with a WIC 1/DSU T1 and one VIC2/E/M in each router.  I am new to CLI commands and could use some tips.
    I would like to set up these routers (I will call them Router A and Router B) to communicate with each other via a internal IP network which spans between two seperate locations. 
    I would like to set up these routers to use the E&M ports to send and receive audio between locations.  The E&M ports are connected to my external equipment which allows for transmit and receive audio to be delivered to the E&M port.  
    I need to be able to allow for the routers to use 2 wire or 4 wire audio between locations, which is matched at both ends.   The routers do not dial phone numbers nor are phones in use at all.  Basically the routers are going to be used to send and receive two way radio voice between the locations which the radios are interfaced to the E&M ports. 
    Can anyone please help me on configuring these routers to accomplish this and if I need to use the Connection Trunk command I can do so, as this is the only purpose of the routers is to relay audio between locations.
    Please Help.
    Thanks A bunch!!
    Rick

    Thank you for taking the time to reply,  However I have allready configured the routers to link the LMR sites together.   I have been connecting LMR assets utilizing ROIP for many years using non-cisco equipment which is specifically designed for ROIP, I have a large inventory of 1760 routers which were originally used for Telco applications which were replaced by newer equipment.  The fact that the routers have become "obsolete" does not mean that they are not usable for my application.   How can you make a statement that this is "limited equipment" when the intended use of this equipment for my application has been accomplished without limitations which are specific to my operation.  
    I posted a request on this forum to obtain some help in the configuration of these devices from people who are familiar with the 1760 router.  Your response was the first response which I had received in regards to my request for assistance, I thank you for at least attaching a link to some resources which I can utilize.  Utilizing the services of a "reputable consultant" or "UC certified partner" would be acceptable in some circumstances, however utilizing the services which would be provided by such would only pose limitations on our technical skills.  I do not want to have to rely on a third party consultants to acheive what is engineered and desgned in house by our staff. 
    I am not looking to purchase new equipment, nor am I looking for consulting help on this issue as we manage and deploy equipment in house.  Enlisting the services of a consultant or certified partner for our Cisco equipment deployments would only add unnecessary costs and time to deploy equipment.  Again thank you for the link to the examples. 
    Respectfully,
    Richard Wiglesworth

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Do we need a ODI agent to be running for using the startscen command

    Do we need a ODI full installation(both server and client) for using the Startscen command or just the client install should be enough. And also do we need a ODI agent to be configured and running for using this StartScen command
    Thanks

    ODI client is an agent.
    So you don't need to declare one more if not needed on your infrastructure.
    But to run odistartscen you need to configure the odiparams.bat with your repository connexion.
    If not it will try to connect by default to the demo repostory on HSQL.
    best regards,
    Brice

  • Cannot determine the ipaddress using the ifconfig command

    cannot determine the ipaddres of solaris OS. I have my oracle db installed on Solaris OS using vmware.
    But I cannot determine the ipaddress using the ifconfig command.
    My native OS is windows vista enterprise. I want to connect my database installed on solaris OS on a vmware machine through TOAD
    Native OS:windows vista enterprise
    Toad :10.5
    OS:solaris 10
    vmware version:6.0.4
    Database:10.2.0
    Pasting the details below.
    # ifconfig
    usage: ifconfig <interface> | -a[ 4 | 6 | D ][ u | d ][ Z ]
    [ <addr_family> ]
    [ <address>[/<prefix_length>] [ <dest_address> ] ]
    [ set [ <address>][<prefix_length>] ] [ <address>/<prefix_length>] ]
    [ destination <dest_address> ]
    [ addif <address>[/<prefix_length>] [ <dest_address> ] ]
    [ removeif <address>[/<prefix_length>] ]
    [ arp | -arp ]
    [ auto-revarp ]
    [ broadcast <broad_addr> ]
    [ index <if_index> ]
    [ metric <n> ] [ mtu <n> ]
    [ netmask <mask> ]
    [ plumb ] [ unplumb ]
    [ preferred | -preferred ]
    [ private | -private ]
    [ local | -local ]
    [ router | -router ]
    [ subnet <subnet_address>]
    [ trailers | -trailers ]
    [ token <address>/<prefix_length> ]
    [ tsrc <tunnel_src_address> ]
    [ tdst <tunnel_dest_address> ]
    [ auth_algs <tunnel_AH_authentication_algorithm> ]
    [ encr_algs <tunnel_ESP_encryption_algorithm> ]
    [ encr_auth_algs <tunnel_ESP_authentication_algorithm> ]
    [ up ] [ down ]
    [ xmit | -xmit ]
    [ modlist ]
    [ modinsert <module_name@position> ]
    [ modremove <module_name@position> ]
    [ group <groupname>] | [ group ""]
    [ deprecated | -deprecated ]
    [ standby | -standby ]
    [ failover | -failover ]
    [ zone <zonename> | -zone ]
    [ usesrc <interface> ]
    [ all-zones ]
    or
    ifconfig <interface> | -a[ 4 | 6 | D ] [ u | d ]
    auto-dhcp | dhcp
    [ wait <time> | forever ]
    [ primary ]
    start | drop | ping | release | status | inform
    when i give the command ifconfig -a, it is only showing the inet address
    # ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    Thanks in advance
    Edited by: user13364377 on Aug 21, 2010 12:13 PM

    user13364377 wrote:
    cannot determine the ipaddres of solaris OS. I have my oracle db installed on Solaris OS using vmware.Then it is not configured... I mean, if the ifconfig command does not return an interface and IP address, then surely the initial reaction should be "+oops, I made a config error+" and not "+bug/error!! wtf is going on!?+".

  • "no ip dhcp use vrf connected" command

    Where can I find the manuel page for the "no ip dhcp use vrf connected" command?

    Wenmei,
    You will not find a manual for this command, since this is a Cosmetic Bug.
    Bug ID CSCsa75056
    http://www.cisco.com/cgi-bin/Support/Bugtool/onebug.pl?bugid=CSCsa75056
    The command will not affect your configuration as long as you are not using VRF. If in the future you decide to use VRF the command still will not be removed but you can enable it using the the same command w/o the "no".
    This issue is fixed in 12.4(2.1), 12.4(2.2)T and higher.
    Let me know if it helps.
    Regards,
    Arul

  • In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File

    Post Author: bhaveshbusa
    CA Forum: Crystal Reports
    In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File. When the application calls ReportDocument.Load(reportFileName). This
    tries to connect to the database using the connection information embedded in
    the "reportFileName". This was only realised on checking the ODBC Trace
    Log. The connection itself is not a problem. The problem is that the embedded
    connection information is related to OLD production system. And failed
    connections had raised some concerns.
    Note: I am using
    SetDataSource to populate the data for the report. So I don't need the
    connection.
    Is there any way I
    can disable this auto-connect?
    Thanks and
    regards,
    Bhavesh

    960738 wrote:
    I need a help in answering one of the issue encountered last week.
    I have created a database link and tried to access the information from a table using the program written in another language. The password provided was incorrect for that user while creating database link. So we expected that,while retrieving the data, Database connection has to be errored out as password provided is incorrrect.
    But unfortunately, user account was locked out. When i checked with DBAs they mentioned that it tries to connect 16 ports with in a min of time.we were shocked as it STOPS another scheduled jobs with that user. and affects production badly.
    As per the program, it has to connect only one time and yesterday we tried to execute the program in DBAs observation and it errored out as expected. Didn't tried for multiple ports.
    Now the question is, WHY the database connection established 16 times last week and caused user account locked. DBAs are unable to answer it. Any EXPERTs opinion on this would greatly appreciated.
    I have verified managing ports in oracle documentation, it was mentioned that if one port is busy it will try to connect to another port in the range of ports mentioned during the installtion. DBAs verified ports related file and it was blank. and they are not agreeing with this reason. Please HELP me in finding the correct REASON for this.
    is it a NETWORK issue or issue with DATABASE SERVER only?
    Thanks
    SSP
    Edited by: 960738 on Sep 22, 2012 9:13 PMDBLINK is 100% oblivious to the fact any port exists.
    DBLINK only contains username, password & TNS Alias.
    can you post actual SQL & results?

  • Saving a pdf file using the print command

    I'm having a problem saving a document to pdf using the print command. I'm using an old version of Adobe. it's Adobe Acrobat 6. it is giving me the following error The instruction at "0x775355b2" referenced memory at "0x775355b2". The memory could not be "read". Could someone please help me resolve this issue. Thank you.

    The OS and release version of the source file's authoring application have a significant impact on use of Acrobat 6.
    For example, Acrobat 8.1 is where Vista support begins.
    With MS Office, Acrobat 6 PDFMaker compatiblility is only for Office 97, 2000, XP, and 2003.
    Be well...

  • Does importing my photos using the connection kit import in full resolution.

    I have been using the connection kit to import my photos. I was wondering if it imports them thin full resolution?

    Yes. You can reconfirm it with apps like Exif Wizard-Pro
    http://i1224.photobucket.com/albums/ee374/Diavonex/e6ac61de.jpg

  • Build mapping using the CONNECT BY logic...?

    Environment:
    OWB 10g Client on Windows XP Professional
    Repository - 9.2.0.4 on UNIX (AIX 5.2)
    Target - 9.2.0.4 - on UNIX (AIX 5.2)
    Is it possible to create a summary table mapping that uses the CONNECT BY hierarchical logic of SQL?
    I realize that I can put it in a procedure and execute that procedure as a post-mapping event, but in this case I need the procedure to be the only activity going on in the mapping.
    I can also plug the SQL into a materialized view but I wanted to see if there was some functionality that I was not getting from the documentation.
    Many thanks all suggestions.
    Gary

    Hi,
    Have you found a solution ?
    If not read on :
    I think your solution of making a procedure and calling it in a mapping is the best idea. But since you said that that there would be nothing else in the mapping, I believe you have to do a dummy mapping. That is, map the fact / dimension to itself, with the load type of the target fact/ dimension to 'NONE'. Also, set the operator property of the pre-mapping process to execute 'ALWAYS'.
    Hope this helps.
    Regards,
    V.Usha

  • I am fairly new to MacBook. I want to copy a picture from a web site to Word and i can't select it using the usual command. What am I doing wrong? With windows it was very simple

    Why can't a copy a picture from the web in MS word using the available commands?

    Ask Microsoft by posting in their forums.  Not an Apple product.
    Microsoft for Mac Support

  • "Cannot use the connection type ...."

    Nokia 6233
    Windows XP SP2
    LaunchApplication.exe v 6.82.70.1
    Bluetooth "i.Tech BlueCON U"
    O2 Bluetooth Dongle Drivers
    Using Bluetooth OK to download photos to PC, but no other function so far.
    Trying Nokia PC Suite to perform various functions - failure in all cases, common message is "Cannot use the connection type. Check that the needed hardware, software and drivers are available".
    No clues anywhere as to what is needed.
    Bluetooth clearly works. Nokia PC Suite can't use it.
    Totally stuck - wish to use PC connection to synchronise address books.
    Help, please.

    Hi,
    I think that PC Suite is not support your Bluetooth driver. Here you can find what drivers are supported:
    /discussions/board/message?board.id=connectivity&message.id=114
    Anyway, if Microsoft's BT driver support your BT HW, you can try to that stack also...
    So, if you want to try to use MS BT driver:
    1. Go to Control Panel, System, Hardware and Device Manager.
    2. Open Bluetooth Devices, select that device, click Action, Uninstall and OK.
    3. Click Action and Scan for hardware changes.
    (windows should automatic install MS BT driver)

  • LR V1.2 Having problems using the find Command

    Have just recently started using lightroom and so far managing most applications imported a series of photos and after import added keywords to them using the find function I cannot get images to appear. What seems to happen is that in the keyword tag and the folders any of the headings that contain the keyword become active the remainder show a zero no in number of images held in that folder but no images on screen
    can anyone assist me
    Peter

    thanks for the reply
    have switched of global filters, made sure that using the Find command have set keywords in "text box" and in the "rule box "contains". When I then enter a key word as soon as a type the first two or three letters
    a message appears on the screen no "No photos in the selected keyword Tag" Also when you look at the folders which have a series of numbers indicating the photos in the directory the first number in each set turns to 0 with the exception of the folder and sub folder were the images are
    So have not managed to make any progress
    Peter

Maybe you are looking for

  • To connect to my thomson internet it is now asking for a password which i do not know

    all of a sudden my thomson internet connection i have is now asking for a password, which i do not know and can not figure out....please help

  • Drag and drop problems in 10.7.2

    Hello! I´ve a MacBook pro 13" with stock 10.7.2, when I drag and drop several files, the shadow of the files freeze on the screen, and there´s no way to remove them other than force quit the Finder. It´s quite annoying. Any idea on this? Best Regards

  • How do I get rid of squat dwarfs?

    Hi, I just imported a QuickTime movie to iMovie but it comes out in widescreen format with the performers looking like fat dwarfs, whereas on Quicktime they look more or less normal. I want to burn a DVD but would rather have fairly elegant-looking p

  • Oracle.exe consuming 10GB of total 16GB physical memory.

    I am using Oracle 11g on windows 2008 R2 during utilization check of memory i found the my ORACLE.EXE is consuming 10GB of physical memory. my total physical memory size is 16GB. I am not getting why my oracle.exe is consuming so much of memory. My S

  • ISchedulerTask properties not shown

    Hi I have previously created an ISchedulerTask called RoleMapperService. This ISchedulerTask have a number of properties which can be configured under "System Administration | System Configuration | Knowledge Management | Content Management | Global