Create database link between two databases?

Hi all

Can someone tell me how to do?

I have two databases in oracle 9i: 'mydb' & 'mydb1 '.

mydb contains a table 'tab1' with a single domain (of the int data type) and mydb1 contains a table "tab2" with two fields (int, char).

I tried to do this:

System is one of the usernames and another username is olapsys
Manager is the password of the system, and olapsys got the password = myolapsys

I tried to create a link, but it gave me an error:

CREATE DATABASE LINK mylink access the system identified by the Manager using "mydb.tab12";

then I tried running this query in olapsys:

Select * from tab12@mylink;

Error:
ORA-12154: TNS: could not resolve service name

Help, please.

Thank you and best regards,

Lucky

CREATE DATABASE LINK mylink to connect to the system identified by the Manager using "local service alias ';

where local service alias is the name of the local service that you configured in the tnsnames.ora to connect to mydb1.

Tags: Database

Similar Questions

  • I got a prob while creating a link/link between two tables in a jdeveloper11g

    Hi guys...

    I got a prob while creating a link/link between two tables in a jdeveloper11g, help me.

    I use two table employee, Department.

    Unfortunately there is no primary key and foreign key in these tables.now i updated on those of table structure.

    I want to create a form like it should be a link between the Department data, i.e. data and employee while the Department is changed then only present corresponding employees in this block...

    Table structure as follows

    Employee:

    -------------------

    employe_id,

    name,

    Department,

    GR,

    Date of birth

    Department of justice

    Department:

    --------------------

    department_id,

    department_name;

    Note: in the employee department table is the same as in the department table department_id...

    So, you want to build master / detail between Department & sub_departments?

    In the same way, create a new, yet another link between departments & sub_departments, so that the connection is:

    Department.Department_Id = sub_departments.department_id

  • Can we create an association between two objects in view?

    Mr President.

    Can we create an association between two objects in view?

    I want to create an association between two objects, so that when I navigate between the first object and its corresponding data vo are also changed.

    Concerning

    Tender,

    You create ViewLinks for this. The Association is FRO EO.

    See the link for how to create a ViewLinks below.

    Oracle ADF - tips and Techniques: ADF Model: link building

    To create the Association of the entity:

    Oracle ADF - tips and Techniques: ADF Model: creating entity Association

    See you soon

    AJ

  • How to create the link between the two drop-down lists

    Hi all

    I've created a form in which there are two drop-down lists.

    Let's say a drop-down list contains three elements A, B, C

    and another drop-down list contains three elements, Apple, banana and cherry.

    So, my request is how to create a relationship between these two drop-down lists, so that if I choose 'A' in the 1st drop-down list, Apple will be selected automatically in the 2nd drop-down list.

    Thank you

    Stéphane

    Hi Scott,.

    Niall is great. You can also use a hidden field to update the second drop-down list value.

    The first drop-down list change event script.

    Select var = xfa.event.change;
    var Items = List1.resolveNode("#items[0]").nodes;
    for (var i = 0; i)
    {
    if(Select == items.) Item (i) .value)
    {
    break;
    }
    }

    If (List1.Length > 1)

    {

    var Items_List2 = SecondDropdownlist.resolveNode("#items[0]").nodes;
    HiddenTextField.rawValue = Items_List2.item (i) .value;
    SecondDropdownlist.rawValue = HiddenTextField.rawValue;

    }

    Thank you

    Sidonie.

  • How to create a relationship between two blocks

    Oracle forms 6i
    Hai All

    I've created a form that I have four button ADD, QUERY, SAVE, EXIT.

    I have two block named head and members.

    Four Chief areas namely block unitid, deptcode, codeno name.

    When I pressed the query button, and the cursor goes to the Chief name field when I enter the name of the leader and click

    Enter I give the codeno, the deptcode and the unitid of the leader_name.

    so now, I created another block in a tabular structure to bring members in the same deptcode that belongs to Leader_name.

    So pls tell me the steps how to create the relationship between these two blocks.


    When I enter the leader_name and gives enter need to bring the codeno, the deptcode, the unitid and

    I also need to give the members of this deptcode...


    Thanks in advance

    Srikkanth.M

    To write, only State a selection:

     :blk2.item = :blk1.item
    

    François

  • DB link between two Db

    Hello

    10.2.0.1.0 Oracle

    Are there any create DBlink between Server MS SQL DB and oracle DB. Help, please

    Hello

    This link can help you (even it's for 9i):

    http://www.Oracle-base.com/articles/9i/HSGenericConnectivity9i.php

    Otherwise, you also have the HETEROGENEOUS SERVICES Guide that gives many examples:

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14232/admin.htm#sthref163

    See the method:
    Step 1:http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/admin.htm#i1005982
    Step 2:http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/admin.htm#i1006039
    Step 3:http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/admin.htm#i1006048

    Hope this helps.
    Best regards
    Jean Valentine

    Published by: Lubiez John Valentine on January 20, 2011 14:40

  • How to make a link between two applications of ADF

    I use jdev 10.1.3.3 and ADF.

    I need navigate from one application to another application. for ex - a table has a column testid.it is show link. By clicking on the test id it should to go to another jspx. page in another application,
    I'm new to ADF.please help and give a suggestion how this can be realized.

    Please answer

    Paste the url of the page you want to see in the action golink property...

    In case you have two applications with security as login and session, sorry that can't be done. Go to the login page of the destination application.

    Published by: Rohit Hoon on April 23, 2009 02:08

  • How to create sharp lines between two text boxes?

    I create a book that is written by several people, and so I want to create a "chapter... author.

    Like this:

    Chapter 1... Jon Doe

    chapter2 ................................. Simon Harper

    so that these points have always the same distance.

    Help, please!

    Well, if your 'chapter' and your 'jon doe' is in the separate text boxes, then there is no easy way to do it. (You could draw a bunch of lines dotted, which isn't difficult, but the only way to standardize manually drag the lines around).

    However, if "chapter" and "jon doe" is in the same text box, separated by a tab character, then it is quite easy. Have you used a ruler before tab? This gives a test:

    (1) type a brief sample in a text area, like the one in your post, but instead of separate columns with points, simply use a single tab

    (2) select all text

    3) go to the Type-> tabs

    (4) I hope it sounds familiar to you (probably from MS Word, or maybe using a typewriter) but otherwise,.

    (4A), click once on the sovereign to insert a tab stop

    4 (b) type a question in the area of 'leader', and

    4 c) press Tab or Enter to confirm

    FYI, it's what you want, a 'leader' or a 'leader of dot. Knowing that he has called a "Chief" will help you find it in InDesign help.

  • Link between CHMS

    I want to create a link between two ECMS who reside in the same directory of the table of contents. For example, just for context, I have the following:
    Link 1
    Link 2
    Link 3

    3 link links to a remote subject. The link opens correctly in the right pane of the CHM, but I want the link to open the second help CHM, does not open in the same frame.

    I chose the new window in the properties of the table of contents but still no luck.

    Hi, TechWriter77,

    You can do this by linking the table of contents entry to a topic that, when opening, fires a shortcut command to the second file .chm open. See the example below.

    I think that Rick also covers this in her file tips and tricks ('Launch HTML Help shortcuts in the table of contents/Index' and 'external launch.) CHMS").

    http://www.RoboWizard.com/RoboWizard/NewProject.htm#downloads/Tips_and_Tricks.htm

    Pete

  • How to create the database link between the production and the test server

    You will need to create a link between Test and prod DB access. We need only select access from user@prod to user1@test.

    Could someone please answer for example?




    Thank you
    sRII

    You will need to create a link between Test and prod DB access. We need only select access from user@prod to user1@test.

    Could someone please answer for example?

    If test for prod

    create public database link to_prod connect to the user identified by password using 'to_prod ';

    Check that to_prod is directed to your production database.

  • TimesTen - Communication between two DSN

    Hello

    Currently I have a setup in Oracle DB in which there are two databases and objects are accessible in all of these databases via the link/synonyms database.

    Now, I need to replicate that in a Cache Timesten InMemory DB underlying of Oracle databases configuration that would involve the creation of a link between two DSN names stored on two different servers.

    Can you guide me on how to go about it.

    Thank you
    Karan

    Unfortunately there are several constraints here that aren't going to help you:

    1. when using the TimesTen "cache" feature a single TimesTen database can only cache data to a backend Oracle single instance. Only regular tables can be cached (not views, dblinks etc.). So, if you have two instances of Oracle Db and you need data in cache at the same time you will need two TimesTen databases.

    2. as mentioned, TimesTen does not support dblinks, remote queries or queries/transactions distributed between various databases TimesTen (well, what he does in some circumstances, but anything that will help you I think).

    3 TimesTen can replicate data between different databases TimesTen, but in general you can not use the level replication table with cache tables.

    So I think, to adopt TimesTen in your application as an important architectural work may be necessary. Only you can be the judge of that, of course, but considering this please keep in mind the constraints above.

    Kind regards

    Chris

  • Bluetooth connection between two 7290

    Hello

    I want to create a connection between two BlackBerry 7290 with OS 4.1 I found something with BluetoothSerialPort, but if I pair the und devices 2 start the application I get no BluetoothSerialPortInfos with the static method of the BluetoothSerialPort class.

    I tried to create a BluetoothSerialPort without an Info but that does not work. I get an IOException to Scripture.

    public boolean keyChar (key char, int status, int time)

    {

    If (key is Characters.ENTER)

    {

    Try

    {

    _port = new BluetoothSerialPort ("Hi there", BluetoothSerialPort.BAUD_115200, BluetoothSerialPort.DATA_FORMAT_PARITY_NONE |) BluetoothSerialPort.DATA_FORMAT_STOP_BITS_1 | BluetoothSerialPort.DATA_FORMAT_DATA_BITS_8, BluetoothSerialPort.FLOW_CONTROL_NONE, 1024, 1024, this);

    H = 'hi. '

    _port. Write (h.GetBytes ());

    }

    catch (Exception e) {Dialog.alert (try ()) ;}}

    }

    }

    At this point, I get the Exception when writing. Can someone help me please? Martin

    When you pair the Bluetooth devices, they exchange a list of services they support.  This means that you will need to have a server side application up and running which listens to the incoming Bluetooth connections before they are matched.  Otherwise, the other Bluetooth device will not know about your application and will not be able to connect to it.

  • How to center the object between two guides (or a guide to the edge of the artboard)

    Simple question: How can I Center an object between two guides or between a fence and the edge of the artboard?

    Chris,

    You can (guides are your friends):

    (1) create a rectangle between two Guides or between the fence and the edge of the artboard by ClickDragging with the Rectangle (desired penalty) tool on a (location) on the other Smart Guides say path/path or page/path when you're there;

    (2) select the two rectangle of 1) and the object, and then click the rectangle, and then use the options in the align palette.

    Who should move your object in the Center in the direction you choose.

  • use a hard file as a shared disk between two vm

    Hi guys,.

    I wanted to know if there is a possible way to create a hard file as a shared disk between two virtual machines.

    That's my idea:

    I want to create a mscluster between two vm one before I need to a shared disk - I don't want to use the external storage, so I thought that maybe there is a way to use a file hard like a disk storage shared "external".

    Is it possible to do this? If there is, I enjoy an explanation how to do that.

    Thank you very much

    Martin.

    Take a look at the cluster configuration guide - http://www.vmware.com/pdf/vsphere4/r40/vsp_40_mscs.pdf.

    Dave

    VMware communities user moderator

    New book in town - Start Guide quick vSphere -http://www.yellow-bricks.com/2009/08/12/new-book-in-town-vsphere-quick-start-guide/.

    You have a system or a PCI with VMDirectPath?  Submit your specifications to the unofficial VMDirectPath HCL - http://www.vm-help.com/forum/viewforum.php?f=21.

  • line set between two icons on the toolbar.

    Hi all


    How to create the line between two icons on the toolbar? help out me thanks in adavnce.



    Sarah

    Hi Sarah!

    You can't create a separator menu item in the top menu.
    Create a submenu and put all your toolbar menu item.
    Between the items that you want to have a line, create a sepatator menu item
    Properties: Visible in the menu: No. and visible in the menu bar horizontal: Yes.

    Concerning

Maybe you are looking for

  • Cannot use the webcam with chat programs - Satellite A200-AH7 Vista

    Satellite A200-AH7/Vista Home Premim/Chicony USB 2.0 built in webcam I can't understand how get the audio works with built in chicony webcam when in a chat program or any program for that matter. I can record audio and reading later, but this isn't w

  • Shuffle not mount or appear in iTunes

    I can't see my Shuffle 5th generation? (bought new in 13) mounted or view in iTunes v. 12.3.1 I tried all applicable remedies listed here: support.apple.com/en-us/HT203979 without success. Plug in the led turns green for a second and then turns orang

  • trying to print from quicken and I get an error message that says that I have to be in the mode of administration and run restore pdfdriver.ba

    I try to print from quicken and I get an error message that says that I have to be in the mode of administration and run restore pdfdriver.bat.  I don't know what is a mode of administration, nor I know what is a pdfdriver.bat. Can anyone help?

  • Ripple Bug?

    Whenever I browse to the undulation of https://developer.blackberry.com/html5/documentation HTML5 documentation page starts without reason and I can't turn it off. Does anyone else get this problem? Its really bugging me (no pun intended) since I can

  • BlackBerry Smartphones unable to read the content

    I have a Curve 8520 since 13 may 2012 there is After operating system upgrade (I forgot which version before upgrade).1075 via downloaded BB desktop manager, a massage appears after startup, "a provider of content browser MIME type audio/mid has alre