How to point b2b to a different database

How to point b2b to a different database. Need to change the information of database tip.properties.

See Re: B2B database connection

Tags: Fusion Middleware

Similar Questions

  • How to create views of data from different databases tables in2

    Using Oracle 10.2 g

    I have 2 databases Gus and the haggis on schema Comqdhb.

    Glink indicates a link of database between Haggis and Gus

    In Gus, there is school that contains columns with same name upn, grade, subject, student of tables...

    STUDENT
    UPN
    academicYear

    Object

    Object

    GRADE
    examlevel
    grade

    SCHOOL
    SN

    In HAGGIS raising tables, grade, teacher containing columns upn... desc below.

    STUDENT
    UPN

    GRADE
    grade
    UPN
    academicyear
    level



    Create views in your database HAGGIS who join their all the qualities of the review. You should have a point of view that will produce the following relationship:
    examGrade (upn, subject, examlevel, sn, rank, academicYear)

    So I need to create a view that gets the data from the tables in the databases.

    create view as examGrade (upn, subject, examlevel, sn, rank, academicYear) like some s.upn


    But I don't get the selection of a column of 2 tables in different databases

    I mean if I said

    Select the UPN in comqdhb.student@glink,comqdhb.student;
    Select the upn name in comqdhb.student@glink,comqdhb.student
    *
    ERROR on line 1:
    ORA-00918: column ambiguously defined

    Help me, thank you.

    Hello

    Rider wrote:
    The issue is that I can't understand that I should create the view by the union of the haggis and the two gus data or only haggis.
    the reason I believe I need to combine the two is mentioned * "" create views in your database schema HAGGIS who join their all the qualities of the review. ". *
    By the mention of creating views and who join their all the qualities of the review, it probably means to obtain the data of the GUS and HAGGIS.

    This is my interpretation of the assignment, too.
    If you ask just the tables on Gus, you will get the ranks of three of the four schools: it's not all examination classes.
    If you ask just the tables on Haggis, you will get the ranks of any of the four schools: it's not all examination classes.

    2nd prob is that if have decided to create a view that gets the data from these two gus and therer haggis would be a lot of duplication involved due to the cross product

    Why would there be "repetition involved due to the cross-product"?
    If the quuery of Gus produces 100 lines, the request of product Haggis 30 rows, then the UNION of the two will have 100 + 30 = 130 lines (assuming, as you say, each student is at school only one).

    the query I wrote is

    Create view examGrade (upn, subject, examlevel, sn, rank, academicYear)
    as
    Select distinct s.upn as upn, g.subject as topic,
    g."LEVEL" as examlevel, g.grade as rank, to_number (g.academicyear) as academicyear
    of s comqdhb.student, comqdhb.grade g
    s.UPN, sb.subject, g.elevel, g.grade, s.acyr select Union
    of comqdhb.subject@glink sb,comqdhb.student@glink s,comqdhb.gradevalues@glink g;

    You should not write, not to mention not formatted zip code. I have a little time I can devote to answering questions in the forum. Do you want me
    b spend this time formatting your code, so I can understand the question, and no time to answer, or
    b spend only a little time reading understanding your code and spend most of my time to help you?
    I would prefer (b), but the choice is yours.
    See the statement that I posted in my last post for an example of the formatted code. You see how it appears in a box with a police fixed-width, and multiple spaces are printed? This is because I typed {code} (all small letters), before and after the section I wanted formatted.

    At least put each table in the FROM clause on a separate line, so it is easy to know if you have enough join conditions.
    If you have N tables in the FROM clause, you almost always have at least N-1 join conditions that specify how the tables are linked together. For example, if talk you about two tables, quality and student, you expect to see a join condition that tells you when you have data in a table, how to find related data in the other table, such as

    g_gus.upn = s_gus.upn
    

    No no no join conditions will cause "repetition involved due to the cross product.

    I downloaded my info here
    http://www.upload4free.com/download.php?file=44201983-School_ExamGrades.PDF


    http://www.upload4free.com/download.php?file=184648736-ExamGrades_Case_Study_2008FINAL.PDF

    Sorry, if there is data as long as you can't post here, there is much too much for me to read.
    Make a sample set, containing a few (maybe five) students and a few shades of each student. It is fine to copy a few lines of your actual data.

    That's all the time I have for today. I can't wait to get the data and formatted requests.

  • How to create a Pool of connections to two different databases in OBIEE

    Hello

    I have a requirement where few reports coming from databases and a few others to another database. I created two pools of connections and added the frame connection details. But when I created the report I get error as below.

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 17001] Oracle error code: 942, message: ORA-00942: table or view does not exist to the call of the OCIStmtExecute OIC. [nQSError: 17010] Prepare the SQL statement failed. (HY000)

    Now, I would like to see if I can create a pool of connections to two different databases. If so, how that happen.

    Thank you!

    Hi Antonio,.

    Cross database joins are possible, no problem for it. But you do not do so in an object of unique data base in the physical layer using 2 pools of connections connection to the source A and B, then adding objects to A and B children of your unique database.

    You create 2 databases in the physical layer, each with its own connection pool, then you can do your knuckles crossed on the physical schema.

    As a picture is worth a thousand words, take a look:

    The physical diagram uses objects of A and B and define the rules of the join between them, it is a cross-database join. But in the physical layer of the database A and B are 2 separate objects each with its own pool of connections.

  • How to integrate the structures of different tables in different databases?

    Hello

    I am new to oracle... well help me with the below question...

    I have the same set of attributes linked together (a, b, c and d) in two different databases A and B.

    The structure of the tables at the same time the database are different, but they carry the same attributes in the same relationship.

    I have to integrate these attributes to object unique db such as any update to the base tables updates my object. How can I do this and what object will be useful?


    Thank you

    Hi Arun,

    Then as you say they are of different databases, we can create a link between the databases and
    can create view based on the Tables.

    (i.e.) if the data in the base table changes the data in the view should also change in real time.

    Arun, of course, the view will also change in real time, because the view is nothing more than a virtual table.

    When you query on a view, he questioned the details of the * "Base Table" * only. If the data will be updated, i.e.
    existing in the Base Table.

    Thank you
    Shankar

  • How can I restore and recover the database to a different server using RMAN?

    Hello Friend:

    How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.

    That's the two servers. different stored different on each server and a single link, a table library where backup set.

    I can only restore and recover the database of the Rman command. Could you give me a demo?

    Thank you

    How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.

    That's the two servers. different stored different on each server and a single link, a table library where backup set.

    I can only restore and recover the database of the Rman command. Could you give me a demo?

    Check this box
    * How to restore Rman backups on a different node when the Directory Structures are different [ID 419137.1] *.

  • How to choose the scheme of work of a different database instead of the database target

    Hi everyone, can you please answer to my problem.

    Q1.is it is mandatory that the two target schema schema and work must present in a database.if not then How to choose the scheme of work of another data base instead of target database schema. Please suggest.

    __Description__

    My work, my work patterns in odi's in a database schema and target in a different database,
    Now I'm dataserver with identification of the target or credentials of scheme work information.
    Here's the problem.

    I can't see scheme of work in the drop-down list when you create the physical schema with data server with the credentials of the target.

    It's obvious that he cannot show the workschema which presents in an another database.because - database server has the schema of the target database credentials.

    Vice versa

    Please suggest

    Concerning
    Chantal

    Hello

    Your KM will create the tables for working in the schema, you write to and that's why you have the problem:

    create table< %="odiRef.getTable" ("l",="" "int_name",="" "w")="" %="">

    I don't know of an option to replace this 'W' that will say 'go and get work in the staging area, I've specified.

    I guess that you can customize the KM and pass all the commands to Execute on the Source tab, or I guess you could specify the schema for each of the steps to be the logic diagram of the various staging areas.

    BUT I don't know if it would work throughout and I think it will create a massive Mount of work unnecessarily.

    Is there a decent reason why you can not have the staging area on the target?

  • How to point the portal to the pointbase database Oracle database.

    Hi all

    Default gateway pointing to the pointbase database. I am point Portal database Oracle.
    Can anyone provide steps for 1) how to point the portal to the Oracle database?
    (2) what are the sources of data that I need to change?
    (3) what database scripts can I run?
    (4) after you create the database in oracle tables, I should have some initial data on the table?

    Thank you
    Florian

    You always use Pointbase

    java.sql.SQLException: invalid table 'USERS' specified in the 23 post name.
    at com.pointbase.net.netJDBCPrimitives.handleResponse (DashoA13 *..: 335)
    at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(DashoA13*..: 383)
    at com.pointbase.net.netJDBCConnection.prepareStatement(DashoA13*..: 545)

    You need to check p13nDataSource (and all other data sources and change of oracle)

    concerning
    Deepak

  • How to make a GRANT previliage on a table in a different database?

    How to make a GRANT previliage on a table that is in a different database (different host)?

    Published by: user10980630 on April 6, 2009 05:18

    Create the link of database between databases and give GRANT to any table on the database

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com

  • ViewObject/Application module with 2 different databases-* URGENT *.

    Hi all
    I need to get the data of two databases for reading different oracle single table in a jspx page.
    It is possible to obtain these data using a single VO and his application module.

    If this is not the case, what is the way to go about such a scenario. How can I say VO to get data of different databases.

    Both are oracle db, but on different machines, different credentials.


    Thank you very much
    Amit

    No, it is also not possible. However, you can have two modules different app pointing to different databases. EOs / your inside a an appmodule will only be the connection that a single database.

    Arun-

  • REPLICAT: search sqlexec on a table resides on a different database

    Hi all

    I use GoldenGate 12 c as an ETL.

    I need to search on a table resides on a different database than the target of one in a REPLICAT process and insert the records in the target database when an insert on a source table is detected.

    I took a chance with sqlexec but I don't know how to operate it.

    My Replicat process would have two clauses userid (a single connection to the target of access database) and the other to access a database of external research?

    ggsci > edit replicat rep

    Rep REPLICAT

    SETENV (ORACLE_SID = DB1)

    SETENV (NLS_LANG = AMERICAN_AMERICA. AL32UTF8)

    Ggs_owner@db1 username, PASSWORD ggs_owner

    Ggs_owner@DB2 username, PASSWORD ggs_owner

    MAP, TARGET

    SQLEXEC (ID insertLookup, &)

    QUERY ' insert into schema1.table1 (select * from db2:schema2.tab2) where...', &

    PARAMS (...)), and

    I did find an example on sqlexec search against a table resides on a different database.

    I would be grateful if someone colud set an example in this regard. Thank you in advance.

    OGG Admin Guide 17.4 (http://docs.oracle.com/goldengate/1212/gg-winux/GWUAD/wu_customcode.htm#i1047744)

    Oracle GoldenGate provides a marker system event, also known under the name of the event marker

    infrastructure (EMI), which allows the Oracle GoldenGate process to make sense

    action based on event record in the transaction log or in the trail (according to the)

    the process data source).

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

    As per above mention of documentation OGG, EVENTS are based on log files path or transaction recording, but in your case, it is the event of the outside world (e.g. external database) and rest of things would stay the same. In most cases, users want to use the data or find data based on recordings of the event, but in your case, the need is different and event record is so. It shouldn't be a problem.

    Haddi

  • APEX on a database by using a different database security

    I'm new to APEX so please forgive me if my question is elementary or if it crosses also ignoring.  My organization uses APEX for the first time and you are looking to fill a specific role.  I don't know if we want APEX can be done.

    Here's what we want to do:

    We want to create an app of the APEX on A database.

    My APEX application will be used to modify database tables b.

    Users have usernames, passwords and access set up on the basis of data B.

    When users access the application of APEX, we want the application to use the database security B.  In other words, it connects using the IDs and passwords for database B.

    So:

    I go to the application of the APEX

    He invites me to the user ID, I enter one I use when I log on database B.

    He asks me a password, I get the one I use with database ID B.

    I click OK.

    Forms are loaded with the data accessible by my ID on the B database.

    Changes on the forms and my user ID is marked as one making changes to database b lines.

    In other words, I just want to use the database A to build and enhance the application.  Anyone can run the application, but they must connect using their database B ID and password to make changes.

    (1) is it possible?

    (2) how to configure in the application of the APEX?

    Thanks for your help on this.

    8dc1e333-95ad-4714-9820-16d3e4296c4d wrote:

    In other words, I just want to use the database A to build and enhance the application.

    APEX does not work like that.

    APEX is nothing more than a bunch of PL/SQL code that runs on the database, it is installed on and run the code as "pattern analysis".

    Comment on "works on the basis of data"

    If you want APEX to read data from a different database, you use a DATABASE LINK

    for example to SELECT a report

    Select * from scott.emp@db2

    I doubt that one of the assistants APEX you'll love.

    comment "works like «pattern analysis"»

    If your application has an analysis of 'BOB' scheme... all SQL and PL/SQL code will run as BOB.

    The "DB"account "security" is more a misnomer.  APEX only checks that the entered name and password match that of the database that it is installed on.

    Once verified, APEX performs a 'switch user' for the 'scheme of analysis. "  (Authentication of proxy in Oracle)

    That's how web applications work... they use a shared schema.

    WORK AROUND

    Connect to the APEX by ADR, no EPG.  Will prevent it people to access the database directly.

    The next thing that you need is a SCHEME of ANALYSIS dedicated to the execution of SQL and PL/SQL.

    As any other database USER, it shouldn't be the same schema as the schema that contains all of your data. (Analysis schema! = data schema)

    Personally, I like to my 'space work [schema]' separated also.

    You will most likely need to use a database of private virtual control data access.

    Required Code changes

    If none of your code using the username 'USER' column, you need to change to COALESCE (V ('APP_USER'), USER)

    (I prefer to COALESCE on NVL because I anticipate different infrastructure that works similar to APEX)

    MK

  • How to back up and restore the database of Virtual Center?

    Hi all

    I have to prepare a document on how to save and restore the different types of database Vitrual Center.

    But I can't find information are contiguous with this topic.

    Could you please help me

    It will be useful as well

    http://www.VMware.com/files/PDF/vc_microsoft_sql_server.PDF

  • How to get the IP address, Port database don't &amp; Oracle SID details

    Hello
    How to know the IP address, Port database don't & Oracle SID details

    Hello

    The IP address is for not for the database server.

    Port no, may be different.

    check what sid, listening to the port

    lsnrctl > status

    or

    Open the tnsname.ora or listener.ora to find what hostname(ip address), what is the port number and what is the SID that you connect

    Hope that answers your question.

    Kind regards
    Rakesh Jayappa

  • How to get data in two different bases?

    Hello guys!

    I want to retrieve data from two different databases. I can't use one because they are in different cities, and now I need to use both. How can I do?

    Thank you!

    Published by: Tipertuba on 11/11/2009 05:13

    Use the links in DB, if everything you do is querying the data... if its replication in time more real then look in or data streams keep... but below you can find things on the database link

    http://www.morganslibrary.org/reference/Db_link.html

  • How to import Page to a different instance/workspace

    I work with version 3.1 in a development environment and want to do releases in a production environment in a different database. Import a simple report went ok; Install Page gives me this error message:
    This page has been exported from another application or of an application in a different workspace. Page cannot be installed in application of HRT.

    I'm usinig same workspace name and the Application ID in environments both want to keep these synchronized.
    This is the way to get releases into a production database: Pages of Export/Import? If so, how is it possible without error?

    In the workshop of SQL / SQL of your target workspace command window run the following:

    DECLARE
       sgi   NUMBER;
    BEGIN
       sgi := wwv_flow_api.get_security_group_id;
       DBMS_OUTPUT.put_line (sgi);
    END;
    

    Copy this output and open your pagefile SQL export. Here, you will need to replace the id with that one. It will look like this:

    begin
    
      -- Assumes you are running the script connected to SQL*Plus as the Oracle user FLOWS_030000 or as the owner (parsing schema) of the application.
      wwv_flow_api.set_security_group_id(p_security_group_id=>3169316348471109);
    
    end;
    

    Further down, replace the application with your target application id id. It will look like this:

    begin
    
       -- SET APPLICATION ID
       wwv_flow.g_flow_id := 100;
       wwv_flow_api.g_id_offset := 0;
    null;
    
    end;
    

    Basically, that's all. You will be able to import page.

    Using a name instead of a user + number and the signature of your job offers are a good habit.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for