Integration between two oracle servers 8i and 9i

With the name of ALLAH,
Dear Friends,
I want to connect / share the data of two oracle databases installed on different LANs and static IPs. i.e
202.125.155.20 and 202.125.152.30
But the problem is that I am unable to connect both databases by connection string in tnsnames.ora
I want to share the data by writting event based trigger between both of the databases.
Note: One database is 8i Enterprise and other is 9i Enterprise
Please tell me in detail that what should I do?
I would be thankful to you.
Faisal,
[email protected],
9203335146832

hi Faisal Rafique
i have working in same situation.
u will make 2 entries in tnsname for 2 server.
like
oracle8I =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 202.125.155.20 )(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oracle8i)--enter u r service name of 8i
another entries for 9i database
oracle9I =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 202.125.155.30 )(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oracle9i)--enter u r service name of 9i
thanks
kuljeet pal singh

Similar Messages

  • How can I get the difference of  tables between two oracle server?

    We team have 2 oracle servers in the same version.
    one is develop server and the other is priduct server.
    I want to know what is difference in tables define between the two oracle servers.
    give me a method or a step or a sql script or a tool to compare these two set of tables.
    Edited by: Oracle-Sunmeng on Aug 1, 2012 6:36 PM

    Hi Sunmeng,
    Does Database Link exists between Databases ??
    If I am Clear, Are you looking Something like this.
    To Identify the tables difference, you can query the USER_TAB_COLUMNS view.
    SELECT DISTINCT table_name, 'User1' AS user_table
               FROM user_tab_columns
    UNION ALL
    SELECT DISTINCT table_name, 'User2' AS user_table
               FROM user_tab_columns@dblink
           ORDER BY 1;Which gets us all the Tables available in Both User. where you can filter based on what
    you require.
    Similary, you for column difference
    SELECT   table_name, column_name, 'User1' AS user_table
        FROM user_tab_columns
    UNION ALL
    SELECT   table_name, column_name, 'User2' AS user_table
        FROM user_tab_columns@dblink
    ORDER BY 1;If you need to count the no of columns in both Tables of different databases. Then try this,
    SELECT table_name, 'User1' user_name,
           (SELECT MAX (column_id)
              FROM user_tab_columns a
             WHERE a.table_name = b.table_name) colno
      FROM user_tables b
    UNION ALL
    SELECT table_name, 'User2' user_name,
           (SELECT MAX (column_id)
              FROM user_tab_columns@dblink a
             WHERE a.table_name = b.table_name) colno
      FROM user_tables@dblink b;And, what the Columns in both tables may be same but, if datatype and length of column differs ?????
    Thanks,
    Shankar
    Edited by: Shankar Viji on Aug 1, 2012 10:47 PM
    Edited by: Shankar Viji on Aug 1, 2012 10:49 PM

  • Intervals, synchronize the data between two oracle tables located in diffe

    Hi Experts,
    Is there any way I can, at set intervals, synchronize the data between two oracle tables located in different servers? What is the software, if there is any? If there are steps I can follow, so much the better.
    Thanks!

    I'm not sure what you want to achieve here...
    I want to synchronize both the Servers , so that it can update HO servers as well as Factory Server with the complete data. Could you please elaborate a little bit more; basing on your description I could also tell you how to setup timesync for those two servers if I understand "complete data" as the current date and time...
    Also a lot of solutions are platform and version specific so it would help if you could indicate OS and Database Versions (4 digit).
    And I still fail to see what this has to do with forms. You might want to post your question to the Database General forum: General Database Discussions
    cheers

  • Error while running code template mapping between two oracle tables

    Hello All
    Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
    java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4                                        
    Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4
    Quick help is highly appreciated.

    Dera Dallan
    its only a target user for the workspace where you are deploying the mapping from.
    I have two repositories for two different projects. each repositary has its own workspace.
    ex:-
    Project 1
    Work space bpms_rep_owner
    Repositary owner bpms_rep_owner
    Repositary user bpms_rep_user
    Project 2
    Work space dem_rep_owner
    Repositary owner dem_rep_owner
    Repositary user dem_rep_user
    Reg
    S.Gyazuddin

  • Reg: How to automate updation of tables between two oracle DB Instances

    Hi All,
    I have a requirement to auto update the tables between two oracle database instances. What are the possible solutions to handle this kind of situations.
    Please help me out in identifying the correct solution.
    Thanks in advance :)

    The possible solutions are outlined in the distributed database documentation
    They are
    a) trigger (6.0 and higher)
    b) advanced replication. Creates triggers on every table. Requires every table to have a primary key (8.0 and higher)
    c) Streams (Uses logminer, has no impact on table. Requires every table to have a primary key, or supplemental logging will be used. (9.0 and higher)
    d) Change Data Capture: superset of Streams (9i and higher).
    If you don't require realtime updates you don't need c or d. b is difficult to manage. Using a) the source db can potentially have to wait for the target db to complete it's transaction.
    Sybrand Bakker
    Senior Oracle DBA

  • How to count days between two dates excluding saterady and sunday

    Hi all
    iam working on oracle sql/plsql.
    In my application , i need to caliculate leave days between two dates excluding saterady and sunday
    Please tell me the solution if any one knows
    thanks in advance ,
    balu

    More modern version:
    WITH date_tab AS
    (SELECT TO_DATE ('&from_date', 'dd-MON-yyyy')
    + LEVEL
    - 1 business_date
    FROM DUAL
    CONNECT BY LEVEL <=
    TO_DATE ('&to_date', 'dd-MON-yyyy')
    - TO_DATE ('&from_date', 'dd-MON-yyyy')
    + 1)
    SELECT business_date
    FROM date_tab
    WHERE TO_CHAR (business_date, 'DY') NOT IN ('SAT', 'SUN');Thank you,
    Tony Miller
    Webster, TX
    Never Surrender Dreams!
    JMS
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Integration between SD to MM, PP and FICO

    Can anyone please post some information about the integration between SD to MM, PP and FICO?
    I Would greatly appreciate your help.
    Also some questions that can be asked during an interview regarding the integration. My email address is <removed>
    Thank you
    Sonia
    Message was edited by:
            Gali Kling Schneider

    Dear Angel SAP,
    Link Between SAP SD, MM & FI
    1. In SAP you will always get integration with other modules. SD will interact with FI, MM will interact with SD :-
    1a. Looking at MM and SD interaction first, take the scenario of a third party order process. This process uses a purchase order (which is sent to your vendor). Also invoice verification is used further along the process to check that the invoice you send to your customer is the same material and quantity as that which the vendor sends to you (but obviously shipped 
    directly to your customer). 
    1b. Billing is an SD function. But SAP needs to know, when processing a customer's payment, to which GL account the payment has to be processed. For instance payment of a UK based material would be placed in a different GL account to that of a non-UK based material. Furthermore, a UK based customer may have a different GL account to that of an Export customer. This is configured in Account Determination.
    2. ABAPers are there to essential do some bespoke development. Your integration, or interaction, with them would be when specifying the tables, fields, input fields, a simple process explanation, data mapping (if doing an interface from one system to another) etc.                 *-- Shahee
    The link between SD and MM :-
    1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
    2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
    3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
    4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
    There are many such links between SD and MM.
    Now the link between SD and FI :-
    1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
    Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
    2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
    3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
    SD Integration points with other modules
    SD module is highly integrated with the other modules in SAP.
    Sales Order –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Costing                        -       CO/ MM
    •Tax Determination              -       FI
    •Transfer of Requirements       -       PP/ MM
    Delivery & Goods Issue –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Reduces stock                  -       MM
    •Reduces Inventory $            -       FI/ CO
    •Requirement Eliminated         -       PP/ MM
    Billing -
    Integration Points                      Module
    •Debit A/R                      -       FI/ CO
    •Credit Revenue                 -       FI/ CO
    •Updates G/ L                   -       FI/ CO
      (Tax, discounts, surcharges, etc.)
    •Milestone Billing              -       PS
    Return Delivery & Credit Memo -
    Integration Points                      Module
    •Increases Inventory            -       MM
    •Updates G/ L                   -       FI
    •Credit Memo                    -       FI
    •Adjustment to A/R              -       FI
    •Reduces Revenue                -       FI
    Tips by: Subha
    SD Transaction Code Flow: 
    Inquiry / Document type IN
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing MN
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
    To create a sales order we need purchase order number and custmer number.  Before that, to create a purchase order we need to have material no, vendor no.
    To create vendor tcode is 
    xk01(create), xk02(change) , xk03(display)
    Tables are lfa1.
    To create custmer tcode is xd01, xd02, xd03.
    Table is kna1.
    After creating sales order using this no we can create delivery note tcode is vl01.
    Hope this helps you.
    Do award points if you found them useful.
    Regards,
    Rakesh
    P.S. you can send me a mail at my mail id [email protected] for any specific details

  • How to find out difference between IAS Oracle Home patches and 10.1.2 Oracl

    How to find out difference between IAS Oracle Home patches and 10.1.2 Oracle Home patches.
    I have read me document but i could not able to understand.
    Please help me

    user10721329 wrote:
    How to find out difference between IAS Oracle Home patches and 10.1.2 Oracle Home patches.
    I have read me document but i could not able to understand.
    Please help meWhat docoument you are referring to?
    If you source the application env file APPS<CONTEXT_NAME>.env file under $APPL_TOP directory then this will set ORACLE_HOME to 10.1.2
    If you source the application env file <CONTEXT_NAME>.env file under $INST_TOP/ora/10.1.3 directory then this will set ORACLE_HOME to 10.1.3
    Environment Settings
    http://docs.oracle.com/cd/E18727_01/doc.121/e12841/T120505T120509.htm#F_92659x3Ax20H1x20Head1x3Ax20Environmentx20Settings
    Thanks,
    Hussein

  • Integration between two HCM 9.1 systems

    Hi,
    Our design requires two HCM 9.1 systems to be configured. One will host the core HCM data and another will host the recruiting solutions. For easy reference, I will name HCM environment as HCM and the HCM environment which will be used for recruit as TAM. Each will have a separate DB instance and TAM will contain an object copy of HCM.
    The challenge now is to integrate these two systems so that data flows from HCM to TAM and vice versa. The current plan is to use E.I.Ps to exchange the data. For EIPs, the local node of one system should be configured as remote node of other system and also PS will not allow duplicate name. This will end up in renaming the local node(PSFT_HR) of one of the system.
    The question I have is what kind of impact will renaming the delivered local node have on the system?
    (Eg: Internal system processes like report distribution, XMLP, PRCS etc?)
    Note: Oracle does not have a delivered approach between two 9.1 systems, it has delivered only between 9.0 and 9.1 which we are already referring to.
    Please help.
    Thank You,
    Regards,
    Cynthia

    When you rename a node, the PeopleSoft Integration Broker automatically handles most of the dependencies involved such as deleting routings and other properties associated with the node.
    However the live message data in Integration Broker Monitor remains unchanged. If that data still contains references to the node you want to modify, Integration Broker will prevent you from making the modification. You must remove all data from the live message tables before you can rename or delete the node definition. You can use this script "appmsgpureall.dms" to remove the live messages.(Make sure App server is shutdown before running this)

  • Refrential integrity between 2 oracle DB

    I have to create a foreign key constraint with the table in diffrent oracle DB.
    I tried creating a synonym through DBlink but mentioning that synonym as the refrence throws error:
    ORA-02444: Cannot resolve referenced object in referential constraints.
    The same thing works if refrenced tables reside in different schema on the same DB instead of different DB server.
    Can anyone help me out with the probable solution of achieving refrential integrity between tables across two diffrent DB.

    Thanx a lot to point out me , here i would like to make some coments point out me if i am worng.
    I have read the Kamal's comments "trigger cannot see
    unsaved changes",Its the same with constraint but
    deadlock occurs while with trigger dead lock will not
    occur.
    We have to be cautious against employing this design as APC said.I agree with APC comments regarding
    performance, any network problems can cause your
    application to slow down as well break down.
    What i suggested to OP create two trigger one at yours master site to prevent child deletion and another one at child site to check parent existence.
    As Anwar suggested a replica of master site at child site and then implement the FK at child site ,as well for preventing deletion vice versa agreed.
    Apart from designing i have also confronted the same scenario which lead me
    some complexity but compell to implement trigger (though at certain level it takes
    extra attention).
    So the only hope to redisgn but is there any alternate as opposed to redisgn???
    Khurram

  • Linking JMS Queues between two managed servers

    I have an environment setup with an AdminServer and multiple managed servers all under the same domain and on the same cluster. They are all running under the same Instance of weblogic on one Windows Server.
              I have two different applications on two managed servers that need to have a JMS Queue be linked between them. Essentially have Server1's 'inbox' link to Server2's 'outbox' and Server2's 'inbox' link to Server2's 'outbox'. Each has their own name for their inbox or outbox.
              Server1(inbox)=Server2(outbox)
              Server2(inbox)=Server1(outbox)
              I've tried using Foreign JNDI Providers, however it doesn't allow me to input two addresses (Server1 and Server2).
              Is there another function that would do the same thing?
              Thanks!

    You can make use of Message Bridges between any 3th party JMS provider or SAF (store & forward) if both jms servers are weblogic servers.
              Schelstraete Bart
              [email protected]
              http://www.schelstraete.org
              http://www.linkedin.com/in/bschelst
              Edited by bschelst at 04/07/2008 1:27 PM

  • Difference in GL Balances between two Standard Report fbl3n and fagll03

    Hi ,
    Mismatch of balances between two standard report ie.fbl3n and fagll03 . We are giving the complete example of what we are facing right now ... please go through the examples .
    ENTRY NO. 1
    We have posted one MIRO , Accounting Posting is as below : -
    PK         Description    Amount       
    86         GR/IR             1000.00               
    31         Vendor           -800.00
    50          TDS               -200.00
    ENTRY NO. 2
    We have Reversed the MIRO through MR8M , Accounting Posting was as below : -
    PK         Description     Amount       
    21         Vendor             800.00
    40          TDS                 200.00
    96          GR/IR            -1000.00
    But in Standard report FAGLL03 , .The line items of above twoi entries under GL " TDS " are showing in this way  : -
    Doc No.      PK      Ammount
    Entry 1       50          -200.00
    Entry 2       40          -200.00 -
    > ?????
    *OPEN ITEMS          - 400.00----
    > ?????
    Although in other Standard report FBL3N , the same are showing correctly as shown below
    Doc No.      PK      Ammount
    Entry 1       50          -200.00
    Entry 2       40          +200.00
    *OPEN ITEMS                0.00
    PLEASE HELP
    Regards
    Soumitra Bhattacharya

    Hi
    FAGLL03 - Display/Change Items (New)  - this report is related to ledger reporting purpose.  this reports is available after ECC 5.0.
    FBL3N - is line item display - this is only GL reports (not in ledger reporting)
    if you find any difference is values please check the report variant you are using and ledger you are activated.
    hope this will help you.
    Regards
    Ram

  • Ale / Idoc between two different servers

    Hi All,
    In my scenario i am working on two different servers in which distribution of idoc is carrying out.
    (Before this i have worked on same server scenarios with different clients.)
    But present scenario i am working with two diferent servers,
    like,
    i am having 100 client in server A (sender system) and 700 client in server B(receiver system),
    i have created all the basic steps like logical systems in both systems,
    Assign logical systems to clients in consecutive servers,
    RFC's and ports.
    while creating message type under model view in server A client 100(sender system ) i can find only 100 client's logical system name, i cannot find the 700 clients logical system name.
    due to both clients are in different ip address , does we need to transfer the logical system assign ment transport request to other client.
    regards,
    Mohd.

    Hello abdul  ,
    When you configure a logical system for example the same system with a different client (700) it should be configured in the source system (Client 100).
    In this way when you can send the relevant IDOCs via the ALE according the model view (BD64) ,the source system (100) knows that the target is the  system with the client 700 .
    (There is a generic RFC in the background process : INBOUND_IDOC_PROCESS).
    Sender :  system_100
    Receiver:system_700
    Message type : MATMAS
    Also in order to accept the relevant Idocs in the system with client 700,you must configure a partner profile that will contain in inbound parameters the relevant message type (MATMAS).
    I hope it is more understood .
    Thank you,
    Boaz

  • Transferring data between two production servers

    HI All,
    I have read weblogs in transferring scenarios from Dev to Qual to Prod.
    But I have a different requirement in which I have to transfer data from one production server to another production server without distrubing the first production server.
    Say A and B are two production servers, I wanted to transfer data from A to B on daily basis.
    Please give me some ideas on this....
    Thanks
    Veni

    Hello,
    I would suggest to use IDOC for transferring data (master \ transaction ) ... to do that you need to setup logical system (prod b) and RFC connection to connect to system prod b ...
    Also distributional model need to setup for pushing the outbound idoc into RFC connection through receiver port.
    Thanks
    Krish

  • Finding Distance between two zipcodes with longtitude and latitude

    Want to find distance between two zipcodes that have their latitude and longitude stored in a table.
    The table is as follows
    CREATE TABLE distance (zipcode VARCHAR2, LNG NUMBER, LAT NUMBER)
    I couldn't come up with a calculation or understand the mathematical calculation on line.. Can you help me with some stored procedure that will do..?
    Thanks

    There is no logical complexity in your query besides knowing the basics of
    http://en.wikipedia.org/wiki/Spherical_coordinates
    Also, the table name "Distance" cannot be more confusing; what you have is essentially "PointsOnSphere".
    select R*sqrt(
    (sin(pi-p1.lng)*cos(p1.lat)-sin(pi-p2.lng)*cos(p2.lat))* (sin(pi-p1.lng)*cos(p1.lat)-sin(pi-p2.lng)*cos(p2.lat))
    +
    (sin(pi-p1.lng)*sin(p1.lat)-sin(pi-p2.lng)*sin(p2.lat))*
    (sin(pi-p1.lng)*sin(p1.lat)-sin(pi-p2.lng)*sin(p2.lat))
    +
    (cos(pi-p1.lng)-cos(pi-p2.lng))*(cos(pi-p1.lng)-cos(pi-p2.lng))
    from distance p1, distance p2
    where R is the radius of Earth, and pi=3. Don't forget to convert angular degrees into radiants before you plug in them into the query above
    Correction: This was euclidean distance sqrt((x1-x2)^2+(y1-y2)^2+(z1-z2)^2) between the points (x1,y1,z1) and (x2,y2,z2). Spherical distance is
    sqrt(
    (R*(colatitude1-colatitude2))^2+
    (R*sin(colatitude1-colatitude2)*(longtitude1-longtitude2))^2
    Message was edited by:
    Vadim Tropashko

Maybe you are looking for

  • PI 7.11 ESB Issue

    Hi all,   I have a got a problem with opening Enterprise Services Builder, I'm able to Open ESB of PI Development system and got a problem with PI Quality system. I don't think this is the problem with Java. I'm getting the below error after i entere

  • Installing Oracle 11g R2 on RHEL 5.9 server

    Hi,     I've been trying to install Oracle 11g R2 on a Red Hat Enterprise Linux 5.9 server but have not succeeded thus far. The server meets all the software and hardware requirements for Oracle 11g Release 2 and when it also has all the prerequisite

  • Weird window behavior in XFCE

    When a window is closed in XFWM, the window manager shifts focus to the window below it rather than the last window to be focused. Normally this isn't a problem, since the window below *is* the last to recieve focus. However, some applications - most

  • Synchronize with static. Please see.

    Folks, I have a question regarding a the synchronized statement when used as a static method: 'When a synchronized static method is invoked,the lock is obtained on the Class object for the class in which the method is defined' Look at this code: clas

  • Downloading cs6 master collection onto pc, it disappears and nothing happens after finishes downloading

    I followed the links that were in the conformation email that I got to download CS6 master collection, I have downloaded it twice and after it finishes downloading it asks me where it should open it in (an app, or internet, or word etc) and I have tr