How can i Create Database Link

Dear Expert,
I have two servers on that there are two databases then
how can i create database link.

CREATE [SHARED][PUBLIC] DATABASE LINK link_name
[CONNECT TO user IDENTIFIED BY password]
[AUTHENTICATED BY user IDENTIFIED BY password]
[USING 'connect_string']

Similar Messages

  • How can I create a link from a CHM file to a webhelp file?

    How can I create a link from a CHM file to a webhelp file?
    The CHM output (accreditation.chm) is stored in a parent directory, and the webhelp output (index.htm) is stored in a child directory.

    Open the usual Link dialog and enter the relative path from where the CHM will be installed to where the webhelp will be installed.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How can I create a link on an image?

    How can I create a link on an image?

    Select your image and in the hyperlinks tool on the toolbar simply type in your site address you want to link to. be sure to include the http:// before the domain name.

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

  • Can't create database link when password has special character

    I'm trying to execute the following statement within sqlplus
    create database link alpha connect to scott identified by tiger! using 'db_alpha'
    note that the password for the account has an exclamation point in it. the command fails. I've tried placing the password in quotes (') and double-quotes ("). The double-quotes work, but then the link fails to function properly.
    We are required to have a special character in our passwords... so how do I get that special character into the password for the database link?
    Thanks in advance,
    Darren

    for some weird reason, I can't post the reply I want. every time I try, the forum hangs and doesn't save the message. give me a sec...
    I have put the password within double quotes... so I'm starting to think the problem is something else. I've been reading other posts regarding creating database links and I've obtained limited results. Here's what I've done, and the results I'm getting.
    (names changed to protect the innocent)
    My oracle database is on SYSA. I'm on SYSB. I set my TWO_TASK=SYSA and just use sqlplus to connect as user1.
    I want to run a command on user2's tables. Normally I would just grant read access to user1 on user2's tables and use a command like
    nert spaces to get this to save (weird forum bug here, I can't delete the text to the left)
    SQL> sel{color:black}{color}ect * fr{color:black}{color}om u{color:black}{color}s{color:black}{color}e{color:black}{color}r{color:black}{color}2{color:black}{color}.{color:black}{color}m{color:black}{color}y{color:black}{color}_{color:black}{color}t{color:black}{color}a{color:black}{color}b{color:black}{color}l{color:black}{color}e{color:black}{color};
    However, user2 is for test data and those tables get dropped and recreated often and it is cumbersome to try to remind everyone to recreate the grants. So I can't trust that user1 will have access to user2's tables. So my goal with the database link is to create a private (for user1 only) database link and access the tables that way, that way I bypass the grant issue. This works out better for me because we only change that password every 2 months. I just recreate the database link once every two months, rather than recreate grants multiple times every week. Well, that's the theory anyway.
    Back to creating the database link, I thought my issue was the special character in the password because if I remove the exclamation point everyting works (except that the password is invalid). Below is what it looks like when I do this...
    Attempt #1:
    SQL> create database link BLAH connect to user2 identified by "tiger" using 'BLAH';
    Database link created
    SQL> sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_{color:black}{color}table{color:black}{color}@{color:black}{color}BLAH;
    sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_{color:black}{color}ta{color:black}{color}ble{color:black}{color}@{color:black}{color}BLAH
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from BLAH
    So that looks like it's just a password issue. If I put in the correct password... the error changes to this...
    Attempt #2:
    SQL> create database link BLAH connect to user2 identified by "tiger!" using 'BLAH';
    Database link created
    SQL> sel{color:black}{color}ect {color:black}{color}* fr{color:black}{color}om my{color:black}{color}_{color:black}{color}table{color:black}{color}@BLAH;
    sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_ta{color:black}{color}ble{color:black}{color}@BLAH
    ERROR at line 1:
    ORA-02085: database link BLAH.AAA.BB.CCC.DDD connects to
    DEVDB.AAA.BB.CCC.DDD
    To me, that doesn't make sense. If the link isn't working... how did it get the "invalid username/password" in Attempt #1?
    Anyway, in perusing other forum posts, one post said to put in the full text from the tnsnames.ora file instead of the alias. So I do a little cut/paste and try this...
    Attempt #3:
    SQL> create database link BLAH connect to user2 identified by "tiger!" using
    2 '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server001.aaa.bb.ccc.ddd)(PORT = 9999)))
    3 (CONNECT_DATA = (SERVICE_NAME = devdb)))';
    Database link created.
    SQL> sel{color:black}{color}ect {color:black}{color}* fro{color:black}{color}m my{color:black}{color}_{color:black}{color}tab{color:black}{color}le{color:black}{color}@BLAH;
    sel{color:black}{color}ect {color:black}{color}* fr{color:black}{color}om {color:black}{color}my_{color:black}{color}tab{color:black}{color}le@B{color:black}{color}LAH
    ERROR at line 1:
    ORA-02085: database link BLAH.AAA.BB.CCC.DDD connects to
    DEVDB.AAA.BB.CCC.DDD
    Any ideas on what I'm doing wrong?
    Darren

  • OWB can not create database link

    Hello!
    We use OWB 10.1. We are unable to create database link in the owb as a source for metadata information. The database user we use to connect to the owb have got the right to create database links and the same user can create database links outside the owb. we get the error message
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    the database user is not the owner of the repository. if we use the repository owner to create the database link it works.
    it is also impossible to use a database link, that is created outside the owb, if we use an user that is not the repository owner.
    the error message is:
    java.sql.SQLException: ORA-02019: connection description for remote database not found
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:158) ....
    with the owner everything works fine.
    Regards Alex

    hi,
    If public dblink is a problem then u can create the table with PUBLIC SYNONYM and create a synonym of the table in ur DB so that u can access the table in ur DB and still make I/U/D in the table in the other DB. We just have to grant previlege for the synonym created for DML statements.
    Regards
    Bharath

  • How can I create a link to download a file in Captivate?

    So, in my Captivate file, I want people to be able to download an XML file to their machine.  If I create a hyperlink to "open a file", then when a user clicks on it, captivate attempts to open the xml file in a browser window instead of downloading it.  I can't figure out how to use the download attribute for an href in captivate and I'm not sure if javascript to do this would execute properfly.  Anybody know the best way to accomplish a force download of a file from a captivate presentation (Captivate 6)?
    TIA.

    If you want to really do this so that it is consistent for all browsers, you'll need to implement this at the server level.  I did this with the Dynamic PDF Export Widget.  Typically, a PDF will be displayed in the browser, but I added the ability to download it instead.  It does require a PHP file (or some other server side script).  In the PHP file, you'll want to set the response header for Content-Disposition to "attachment"... that's the key.
    The elbow grease part has to do with managing how the browser handles the link.  You'll want the Captivate hyperlink to open a new window so that the student does not navigate away from your course in the current window.  But since you are opening a PHP file, you can inject javascript into the document of the new window/tab to close itself.  The download will still continue eventhough the window/tab was programmatically closed.  However, most modern browsers will automatically close the window/tab for you when downloading a file.  If you want to see an example of a PHP file that implements this, go ahead and download the trial version of the Dynamic PDF Export widget.  You'll see the create.php file in the zip package.
    http://captivatedev.com/2012/07/25/adobe-captivate-6-x-widget-dynamic-pdf-export/
    If you want to go simple as TLC Media Design suggested, just zip it and let your students unzip the xml file, or just rename the xml file with a .zip extension and tell them to rename the file back to .xml after downloading.

  • Can't create database link to oracle 8i

    can you tel me please why i can't create a database link to oracle 8i from owb 9.2.0.2.8

    Can you please provide more information: what is the error you are getting? Are you creating the link while importing metadata or while deploying?
    Nikolai

  • How can I create a link to a pdf file and show it in the same webpage or in a new tab

    It is no problem to create a link. But the formats are limited and  - unbelievable -  the pdf format is not supported??!
    Where are the parameter (_blank or _self) to show it for example in the same webpage or in a new tab??!

    PDF is media.  It is not a web document.  Your end users must have plug-ins and helper apps installed on their device to see PDFs in browsers.  Depending on their settings, the PDF file may or may not launch in the browser window.  On my system, PDF files download and launch inside Acrobat Professional; not my browser.
    The safest approach is to provide a screenshot on your page with a direct link to the PDF file so people can handle it as they wish.  See example:  http://www.adobe.com/manufacturing/3dpdfsamples/3dsolutions/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • How can I create a link that allows users to convert a Wiki pages into PDF format.

    I am working on an enterprise Wiki library site collection, but I want to create a link named “Convert to PDF” , which allow users to convert the current Wiki into a pdf file. I need this link to be displayed some where in all the exsiting Wikis pages, and
    on any new wiki page. Can anyone advice if there is already such as capability within sharePoint 2013.
    Thanks

    Hi,
    For your requirement, we can add this link to the master page, then it will appear in the pages which apply this master page.
    To convert the current page to PDF, you can take consideration of using jsPDF.
    The links below with demos for your reference:
    http://parall.ax/products/jspdf
    Best regards
    Patrick Liang
    TechNet Community Support

  • How can i create readmore links in Dreamweaver?

    Hi please if any body can help me i have a long content and i want to create readmore link so that i can shorten my content on dreamweaver if any body can help please i will appreciate.

    The simplest way is to place excerpts of content into your main page (30 words or less) along with links to 2nd level pages containing the "Full Story."
    EXAMPLE:
    <p>Adipiscing est nulla in nihil nibh id. Claram processus hendrerit eorum ii investigationes delenit ut mazim. Amet iusto cum ex veniam me, anteposuerit commodo et at... <a href="page2.html">READ MORE >></a></p>
    <p>Claram processus  hendrerit eorum ii investigationes delenit ut mazim. Amet iusto cum ex  veniam me, anteposuerit commodo et at. Facit sollemnes saepius non  lectores litterarum...<a href="page3.html">READ MORE >></a></p>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • How can I create a link or reference to an email in my inbox in Mail?

    I want to create links to emails (not links in emails), to be able to access an email directly out of my todo list program (I use Wunderlist).
    Example: an email requires an action. I create a todo in Wunderlist and I want to add a reference or link to the email that contains the background information.
    Any Ideas out there how this works? I suppose every email in the inboxes have a unique identifier. But I don't know how to get there and how to use it.
    Thanks
    André

    If you open the document in Adobe Reader, then Adobe Reader will keep a copy of the file. You can later launch Reader and open it from there while offline.

  • How can i create a link in the context help from frontpanel elements like knobs and so on

    i want to create on context sensitive online help and therefore need to know how i can place a hyperlink in the context help from labVIEW of a frontpanel element

    lotto;
    You can place your help file in LabVIEW help directory, which should be in \help. If you place your help file in that directory, then when you start LabVIEW, you can access your help from LabVIEW's help menu (there will be an extra entry with the name of your help file.)
    To link your control or vi to this help file, open the front panel (or the panel where you edit the control) and open the VI setup. In the help path field write the following:
    :\name.hlp
    Where "name" in the name of your help file. in the "Help Tag" field you should enter the tag you already assigned to the topic in the help at design time. (I suggest the tag to be similar as the vi or control name.)
    After all this, the next time you start LabVIEW,
    you should be able to access the context help file to your control or vi by right-clicking on it and selecting "Online Help".
    IMPORTANT NOTE: Be aware that you may loose files you locate in special directories in LabVIEW, like the help, because those directories might be overwritten when you upgrade your software. Another option can be to locate your help file in a directory other than LabVIEW's help. The steps are almost the same, except that you won't be able to access your help file from LabVIEW's help menu.
    Best regards;
    Enrique
    www.vartortech.com

  • How can I create a link to an external site in my aperture web gallery?

    Very keen to add a link to my main home page so people can go from my web gallery at www.smartstreets.eu back to my home page at www.smartstreets.co.uk
    Anyone know a way to do this?
    Also wondered if I can change the font, size, format (eg bold etc) in the theme I have chosen .. this seems to be set and cannot be changed.
    Any ideas? Any places I can try for great third party web gallery themes? Thank you!

    I don't know how to accomplish this when using Aperture's built-in web gallery feature. My suggestion may help until you find out how to do that. I suggest buying iLife '08 and using iWeb to create your web galleries. The iWeb media browser shows your Aperture library and albums so there's no need to export-import. You do need to generate previews for photos to use in iPhoto. iWeb is much more powerful than Aperture's gallery layout tools, plus there are many themes available. Think of iWeb as an export plugin for Aperture.

  • Webapps.  How can I create a link to a page instead of showing the details-view

    I want my client to define what page a webapp shall point to in list-view, instead of showing the  details view, but I cant figure out how.  I have tried this, but it seams that tags don't work inside links:
    <a href="{tag_my_custom_link}">{tag_name}</a>
    .. does any one know how to do this?

    The problem is the format of your tag.  If your field name in the web app is "My Custom Link" then your tag is {tag_My Custom Link} (note the spaces).
    Cedric is right though, make sure the field is a textfield and not a hyperlink field in your web app.  If you use BC's new "Develop" tab up top you can navigate to your web app detail layout in /Layouts/Web Apps/<yourwebapp> and find "list.html".  Then, you can use the toolbox on the right (click the data tab) to insert tags without having to guess.  You can choose your custom field and insert the tag.

Maybe you are looking for

  • How to create a link to a unix document in interactive report??

    on the same UNIX server where APEX 4.2 is installed I have a directory with pdf documents - /d01/apex/docs/mydoc.pdf for example. How can I create a link in APEX interactive report to point to the document and allow users to view or download on their

  • Problem plz help in this

    hello i connect the iphone to my Mac open the itune i got this Itune was unable to load dataclass information from sync services . reconnect OR try again . AND This Too Apple Mobile device Helper quit unexpectedly i search in your site i got this htt

  • JBO-35007 in Portletized ADF Faces Page and alternative scenarios

    Hi all, I've started a new thread to address one of the problems referred to here Issues with Faces -> Portlet Bridge and ADF Faces In short, the issue arises when portletizing an existing ADF Faces page that uses an ADF BC bound af:Table on the page

  • Is my set up sufficient?

    I'm soon going to buy a Sony HVR-Z1, primarily for underwater videography. I've got 2 questions that I could do with some advice on: 1) Is my current set up going to be sufficient to cope with HDV or is the G4 not going to be able to cope with it? 2)

  • JAVA CLIENT PROXY

    Hi All, I am working on java client proxies. Can anybody give me step by step approach for creating application java class using proxy and bean classes generated from my outbound interfaces? I want to create EJB module project and EAR project,I have