Create DB Link?

Dear all,
I want to create a DB link from accessing one database to another. Let say I have one database in Site A and the other database in Site B.
Site A wants to get information from Site B.
How can I do that?
Please advice,
Amy

However, I can connect by using sqlplus with the same information.
UserName: apps
Password: apps
Host: PROD.WORLD
---------------- Quote Above ---------------------
1) CREATE DATABASE LINK PRODDB CONNECT TO APPS IDENTIFIED BY APPS USING 'PROD.WORLD'
2) tnsname.ora file
PROD.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 123.XX.XX.59)
(Port = 1521)
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 123.XX.XX.59)
(Port = 1521)
(CONNECT_DATA = (SID = PROD)
---------------- Quote Above ---------------------
Amy

Similar Messages

  • Creating a Link to a Folder on a Server with Sharepoint Foundation 2013

    Hi All,
    I am looking to create a link from a page on my Sharepoint site to a folder on one of the companies servers. I have had a lot of trouble with this.
    Is there a piece of code I can use to do this?
    Thanks in advance.

    Ahh. You are using SharePoint Foundation. Yes in that case you would not have that feature.
    That makes your requirements bit tricky given I verified creating this link without Publishing feature activated and it did not work and hence I tend to believe that it would not work in your case without that feature.
    What you can try is drop the page viewer web part and try configuring it to open your file share and see if that helps. I do not have Foundation otherwise I would have verified this before posting but give it a try and see if it helps.
    http://neelb.wordpress.com/2011/09/16/displaying-a-web-site-or-file-or-a-folder-in-the-page-viewer-web-part/
    Amit

  • HELP! FOR LOOP TO SCROLL THROUGH TABLE AND CREATE DATABASE LINK

    Hi,
    Here's the scenario, not much of a PL programmer, just basic SQL so really need some help people!
    I have 2 tables. 1 contains list of DB's and the other contains rules to follow.
    I need to create a loop that goes through the table containing the DB's and on each row a DB link is created (Only 1 link allowed!)
    Once created, the schema currently logged in with also has an account on the linked DB in order to run scripts- The scripts are stored centrally hence the requirement for the link to the target DB.
    There are numerous scripts that need to be executed and can all be called from 1 script, once executed the loop exists and the database link needs to be dropped.
    Once dropped, the first loop continues, creating a DB link for the next DB listed in the table (and all the scripts are fired again)
    This continues against all the DB's listed in the table.

    Hi BlueShadow,
    Thanks again for the response, you've hit the nail on the head. SQL scripts on a unix server, a loop goes through a table 1 at a time. Each row gets a link created and then all the scripts stored on the server are executed against the db linked to. So I'm assuming this is a loop within a loop.
    1 loop to go through the table to create the link and then another loop within once connected to execute all the scripts against the connected DB. Once the scripts are run, the loop exits and moves onto the next server and so on until all the servers have the scripts are run.
    It's PL/SQL scripts we're after and not shell scripts as this would free us from the OS constraints.
    We have to drop the links due to security. Any idea on o

  • Is it possible to create a link on the content of a text annotation??

    Is it possible to create a link on the content of a annotation??? Like the content of an annotation is some notes as well as a link...
    content -
    this is my first annotation(notes)
    http://www.google.co.in/(link)
    is it possible to create a link for the url given in the content of an annotation??? On click on the url...it should get opened...
    please reply its really urgent....

    How/where do you want to accomplish it?
    Within the document? Using Acrobat? Using another application?
    Using Acrobat within the document would be possible using Acrobat JavaScript. You can access the annotation objects of your document, and you then can evaluate the properties of each of these objects. Have a closer look at the Annotation Object section in the Acrobat JavaScript documentation.
    You will look for the contents property, and evaluate its content. When you have found something looking like a URL, you can create a link (using the rect property of the annotation), and you have what you want; you might then think to destroy the annotation, as it may overlay the link.
    Hope this can help.
    Max Wyss.

  • Create a link to movies stores on external hard drive for itunes

    I seem to have an issue with creating a link to movies stored on my external top be played on itunes. Im NOT trying to move my itunes music library. I had to resetablish my links. Previously I had all of my movies stored on an external, would just highlight and drag to Itunes movies, an icon and a shortcut would quickly copy ans all was good. Now when I drag the movie icon to itunes it begins a "copying" process that takes a very long time.
    ??

    What I do is this:
    I keep the 'Keep iTunes folder Organised' option check (on). So that When I buy music or rip a CD, the music goes into my iTunes folder on my iMac's internal drive (in my home folder - default location).
    However, I have elected to keep all my movies on an external drive, effectively meaning that I only want iTunes to partially organise my folder.
    How do I get around this?
    Simple. To add a movie to iTunes from my external drive, I simply OPTION-DRAG the file into iTunes. ie. select the file in the Finder, hold down the option key and drag it onto iTunes' open window. It will add the movie to the library, but WILL NOT copy it to the iTunes folder - the file will be referenced from its original location.
    Simples.

  • Creating a link to specific view in a submitted InfoPath form via C#

     
    Hello,
    I have an InfoPath form that is submitted by a user, then the c# executes logic on a button click which is to send approver a link to a approver view within the submitted form(my company is
    not allowing use of Work flows).
    I have a problem creating this link namely because SharePoint changes the patter of a string that is used in creating a form name(Username and now() function characters change
    in URL).
    Is there an easy way to reference an url to a view in Infopath form via C#
    Thank you.
    Nemanja
    Nemnaja Sovic

    Brian,
    You can use the following javascript syntax to open a document on local drive:
    xfa.host.gotoURL("file:///C:/yourdocument.pdf",1);

  • Creating a link to external website

    Hello all,
    Could anyone confirm if its possible to create a link to mobile me gallery without creating a photo page with the mobile me gallery link on it?
    EG: I have the pages: Home, About me, Photos. I would like to link the photos page so it goes directly to my mobile me gallery instead of open the photo page.
    Is this possible?
    Thanks,
    Rob

    Rob ~ Yes, it's possible...
    In your empty Photos page add an HTML Snippet with the following code:
    <script type="text/javascript">
    parent.window.location = "http://gallery.me.com/wintersgrass"; // change this to your own URL
    </script>
    ...Once published, clicking on "Photos" in the navbar will immediately redirect to your MobileMe Gallery page. (Thanks to Cyclosaurus for the code).

  • Creating a link to a word doc

    I'm having trouble creating a link to a word doc on my computer.
    I select "enable as hyperlink" and then "Link to file".
    I select the the word doc on my computer. It didn't create a link to the file.
    Hmmmm... then I tried it with a pdf. Still no link.
    Do I need to have a pdf ? The document was created with microsoft word.
    However I also tried it with an old Adobe pdf file.. still no go.
    Any thoughts? I'm using an old version of iWeb 1.1.2
    Thanks.

    arf arf wrote:
    Do I need to have a pdf ?
    No.
    arf arf wrote:
    The document was created with microsoft word.
    That should work too.
    NOTE: Links to files aren't testable within iWeb — they become active when published and viewed in a browser.
    An alternative approach is to post MS Word docs (or PDFs) to the free Posterous where they'll be automatically presented in a convenient viewer, e.g.
    http://dont-panic.posterous.com/pdf-document-example
    ...Then in iWeb set up a simple text or image hyperlink to that particular Posterous blog entry.

  • Creating a link to a Multibyte file with PDF 1.4

    I am trying to create a link to a file that contains multibyte characters (specifically Japanese) - unfortunately, I need to conform to the PDF 1.4 standard (I can make things work fine using PDF 1.7 and /UF).
    The 1.7 standard says that as of PDF 1.2, a file specification can contain multibyte character codes if you represent them in hexadecimal format. I cannot get this to work, and wonder if someone has any insight into why this might be.
    My multibyte file spec is UTF-8 encoded, and this is how I write it (in hex) to the document (without thr UTF-8 BOM). When I later click on that link, I get an error that the specified document does not exist - the part of the filespec that is English characters are displayed correctly, but the Japanese characters show up incorrectly.
    Does Acrobat expect these characters to be UTF-8 encoded, or otherwise? I've tried prepended the UTF-8 BOM, but that didn't make a difference. Do I need to UTF-16BE encode them (like with /UF)?
    Additional info: I've tried using Acrobat 5 to create a new PDF and inserted a link to a file whose name contains Japanese characters - when clicking on the link in this, I also get the 'file does not exist' error. Also, looking in the PDF, the filespec is NOT hex encoded, and the Japanese characters have been replaced by ???.

    Hmm... so, what does it mean when the 1.7 spec says 'In PDF 1.2 or higher, a file specification may contain multiple-byte character
    codes, represented in hexadecimal form between angle brackets (< and >).'? If Acrobat 5 supports PDF 1.4, I would have thought this would mean that Acrobat 5 would support multibyte character codes...
    I would guess that this puts the final nail in the coffin of creating links to filenames with non Roman characters from Acrobat 5.
    Just so I can report this upwards, I see that you are an Adobe employee - are you a support person?

  • Creating a link to a file on a Windows server?

    I am trying to create a link to a file located on a Windows server that I can email to users and they can click on the link and it will open the actual file.
    Here is what I have done so far:
    smb://server/sharedfolder/document.doc
    The user can click on the link but it just opnes up the "sharedfolder" and then you have to find the file you want and then open it and that works.
    I need the link to be able to just open the actual file.
    Is there a way to do this??
    Thanks

    Since it's a file download, there's no reason to add the target="_blank", I'm guessing your file is 404 for some reason which would give you a blank window per the target.
    Make sure the case structure of the file and link are identical. Servers are case sensitive, a server sees CheckIPApp.zip and checkIPApp.zip as totally different files. Your local OS sees them as the same thing so during local testing it will work, when uploaded, it won't.
    Make sure you've loaded the file onto the server at the exact location specified by the link. It should be in a folder called "Zip Files" that resides on the same directory level as the page that the link is on.
    You may also want to normalize your file names. They should be all lower case alpha-numerics without any spaces (use hyphens or underscores instead) and without special characters ($%&*). You can use DW's Files window to change names and DW will fix the links automatically.

  • Creating Ejb link to another Weblogic server

    I am trying to create a EJB jndi link to another weblogic server from a weblogic
    server.
    Basically I have a web application that uses an EJB that is deploed on another
    weblogic server and I would like to connect to it.
    One way I can do is the remote lookup using the Hashtable and the context factory,
    something like this
    Hashtable props = new Hashtable();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001/");
    Context context = new InitialContext(props);
    I used a jndi-link in resin previously, that did not require me to do a remote
    lookup and rather created a link at the server level and allowed me to do a direct
    InitialContext() lookup.
    <jndi-link>
    <jndi-name>java:comp/env/ejb/test</jndi-name>
    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
    <init-param java.naming.provider.url="t3://xx.x.x.x:7001"/>
    <jndi-lookup>ejb.test</jndi-lookup>
    </jndi-link>
    Can I do something similar in Weblogic? If yes, how can I do it.
    Appreciate your help.
    Thanks,
    Varun

    "Varun Garg" <[email protected]> wrote:
    >
    I am trying to create a EJB jndi link to another weblogic server from
    a weblogic
    server.
    Basically I have a web application that uses an EJB that is deploed on
    another
    weblogic server and I would like to connect to it.
    One way I can do is the remote lookup using the Hashtable and the context
    factory,
    something like this
    Hashtable props = new Hashtable();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001/");
    Context context = new InitialContext(props);
    I used a jndi-link in resin previously, that did not require me to do
    a remote
    lookup and rather created a link at the server level and allowed me to
    do a direct
    InitialContext() lookup.
    <jndi-link>
    <jndi-name>java:comp/env/ejb/test</jndi-name>
    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
    <init-param java.naming.provider.url="t3://xx.x.x.x:7001"/>
    <jndi-lookup>ejb.test</jndi-lookup>
    </jndi-link>
    Can I do something similar in Weblogic? If yes, how can I do it.
    Appreciate your help.
    Thanks,
    Varun
    hi,
    Yes, it is possible in weblogic for more info visit this url,
    http://e-docs.bea.com/wls/docs70/ejb/reference.html#1221067
    u have the description of how to use the below tags
    <initial-context-factory>weblogic.jndi.WLInitialContextFactory</initial-context-factory>
    <provider-url>WeblogicURL:Port</provider-url>
    <indi-name>jndiweb</jndi-name>
    hope it help u
    regards,
    Elango TR

  • Creating a link in a PDF form to open into a new window

    I have created the PDF form and every thing seems to be working fine. But I would like to set a link in the form that would open into a separate page. I have tried target="_blank" and onclick="window.open(this.href, 'child', 'scrollbars,width=650,height=600'); return false" with no success. Can someone give me some direction on how to create a link within a PDF form that will open into a new window?

    Try this, using JavaScript:
    app.launchURL("http://www.adobe.com",true);

  • Creating a link for external users to view my project

    Hi -
    I want to share my RoboHelp project with external users that do not have access to my company's internal server if I publish there. Is there a way to create a link to my project that I can just share with other people?
    Thanks!

    Hello again
    Are you clicking the "view result" link? If so, the CHM should simply open. However, there are a host of things that can go wrong along the way and to figure out what may be happening we need to ask all sorts of questions.
    Did you click View Result after it finished? If so, what happened? An error? Nothing? What?
    Where are you attempting to compile the help? When you look at the properties of your Single Source Layout recipe, where are you pointing the output folder to? What is the file name?
    Are you able to open and view other CHM files? Do you know what a CHM file is?
    As you can see, there are many questions to answer. And probably others I failted to think of.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Creating a Link on the Column Heading

    Good afternoon,
    I know with reports, you can create a link for each cell in the report attributes section. My question is it there's any way to create a link for the column header without hard coding it into the query that generating the results.
    Thanks in advance,
    Ivan

    Ivan,
    If you are using the classical reports, you have the option of creating column header using pl-sql block which will be dynamic. Thanks
    Regards,
    Manish

  • Creating a link with the Link Tool

    I used the Link Tool to create a Link in my pdf file.  The link is set to open a website file.  I created 2, one with just a little text and the other was a picture that was 200 X 300 px.  When I follow the links, each is opening a full web page.  I expected that with the Text link because I put the text on an html page but the picture I sized to the 200X300 but that opened a full web page also.  When setting up the link to the Web File I did not see an additional settings as far as how to open the web page such as _parent or _child etc.  I believe it is normally the Target.
    Does anyone know how I would either do this with the link tool or know of a better way to do it overall?
    Thanks
    Bob

    Hi,
    You may be confusing HTML markup for links with PDF links.
    In PDF, HTML markup is not applicable.
    So "target_xxxx" or any other HTML 'stuff' cannot be used.
    For the graphic file (JPG, PNG, whatever), make a web page file that is configured to display the graphic file in a manner you desire.
    The web link you set in the PDF, with Acrobat, will result in this web page file opening.
    This is the file that will control how the graphic is rendered.
    If needed, a resource for HTML "how to" is W3 Schools.
    Be well...

  • How to create a linked data source with document libraries based on the same template?

    I use SharePoint Foundation 2013, SP Designer and Visual Studio 2013 to my needs. But there are several things which i don't get.
    I have a number of libraries which use the same template. I want to create a linked data source, that would contain them all, and if I add a library based on this template, the library would be added to the data sorce. Is it possible?
    I tried creating linked data souces, but the view that it brings by default is limited(no sorting, etc.). How can it be modified?

    I am planning to do my project on Linux with J2EE,Oracle technologies.You don't need to set up a DSN. Just use a JDBC connect string such as jdbc:oracle:thin:@localhost:1521:xe
    ~Jer

Maybe you are looking for