Dblink 11 = > 9 - possible?

Hello


I have a 11.2.0.1.0 database where I need to create a link to 9.2.0.5.0 database.

Is this possible, if so someone can tell me if there is no special syntax, I need to be aware of when I try the SQL code crashes for centuries - without error - but on selection tests * of dual@my_new_link crashes just the link...


Thank you

Robert.

Hello

Yes, you can create dblinks from 9i to 11g and vice versa...

It might the problem with response time of connection string, if you know what tns shot it uses so that you can check or extract the DDL and

Publish

tnsping

You can check the compatibility * Client / Server / Support of interoperability between different Versions of Oracle [207303.1 ID] *.

Thank you

Tags: Database

Similar Questions

  • Insert nvarchar2 on dblink

    Hi all.

    I have a source DB 10.2.0.5 using EL8ISO8859P7/UTF8 and a DB 10.2.0.4 target using EE8ISO8859P2/AL16UTF16 (CHARSET/NCHARSET).

    I want to spend (frequently) data source VARCHAR2 to target on dblink. End from the dblink is target data (EE8ISO8859P2).

    Direct conversion/storage is obviously not possible.

    Since the target (EE8ISO8859P2) character set is not a superset of EL8ISO8859P7, I hope I can store the data in columns NVARCHAR2, since AL16UTF16 supports the code of source DB points.

    However, the dblink made the conversion and the time data reach the target, it is already 'flattened' question marks, so store in NVARCHAR2 stores question marks encoded as UTF16 .

    Y at - it a trick I use (while still using dblink, no import/export)?

    Can I "force" somehow the dblink to use UTF8 (or somethink like him) at end of 'customer', instead of the source DB character set?

    Thank you

    Florin


    Have you tried to create a view on the side of the source that makes TO_NCHAR for the relevant columns, and then you query this view instead of the original table?

    Thank you

    Sergiusz

  • Dblink Oracle to sql server, multiple database on the same server sql under a dblink

    Hi, we managed to set up an Oracle dblink to sql server and retrieve data.

    The user of sql server have been using via dblink has access to multiple databases on the same sql server

    But the question is how in oracle (if possible) prepend you the SQL access to this?

    For example:

    Sqlserver_prod has the user sqlserver_user which seems to be set up as default database sqlserver_db1

    But we have select access to sqlserver_db2

    all work well as sqlserver_user

    Select * from table_fromdb1

    Select * from dbo.table_fromdb1

    Select * from sqlserver_db1.dbo.table_fromdb1

    as does

    Select * from sqlserver_db2.dbo.table_fromdb2

    more in Oracle

    Oracle_db a dblink sqlserver_prod. World connection sqlserver_user

    everything works fine

    Select * from 'table_fromdb1"@sqlserver_prod '.

    Select * from 'dbo '. "table_fromdb1"@sqlserver_prod

    But how to (if possible) access from oracle

    sqlserver_db2.dbo.table_fromdb2

    without having to create a new sqlserver_db2_user referenced in a new dblink

    If oracle for oracle would be

    Select * from remote_oracle_schema.table@remote_oracle_db

    Hello

    You cannot select a table in a different SQL * database server from that to which the gateway instance connects.
    As stated in the documentation-

    Oracle® database gateway

    Installation and Configuration Guide

    11g Release 2 (11.2) for AIX 5 L Based Systems (64-bit), HP - UX

    Itanium, Solaris (SPARC 64-Bit), Linux x 86 operating system,

    and Linux x 86-64

    In the section.

    The example SQL Server multiple databases: Configuration of the modem router

    A separate instance of the gateway that is required for each SQL Server database. Each

    instance needs its own Gateway system ID (SID).

    ==========

    You will need to create a new instance of the gateway for the SQL * Server DB2 as well as a link separate db.

    Kind regards

    Mike

  • dblink to an instance on the same server

    Suppose I have two Oracle instances that sit on the same physical server. In one case, I create one dblink to another and this dblink allows to define a view as select * from sometable@dblink. Will there be of the type involved in the trafficking network restrictions (for example limited to the current network interface physical bandwidth as 100 Mbps, 1 Gbps) causing overhead tiny as these instances be on separate physical machines? In other words, is this dblink between instances the right way to go, or maybe there is possibility to enjoy a few additional mechanisms for these two instances provided the fastest way possible (and assuming that created the view above)?

    Thank you

    If the two instances are on the same server, LAN drivers/software can resolve the IP address of the connected 'server' as the local host, so he won't need to go out on the network (if possible, why not try unplugging the network cable from the server and see if it works again - assuming, of course, the network is not necessary for the duration).   The connection will pass through the network interface on the same server and communicate via the relevant port that the instance is configured on.

    This isn't really any different to having an instance of database installed on a computer not connected to the network that you connect then on this same computer by using any client interface, it will be always access it through the port on which the database is listening, but there is no need for any network physical to exist.

    As separate bodies, then using dblink is probably the method appropriate and common use.

  • create dblink to asm of the RDBMS instance

    Have a metric solution on a database that queries all RDBMS instances for different indicators, applications, and administration and reported to the users/admins via apex.

    You want to use to report the news datagroup ASM but need a dblink to ASM to run the query of the RDBMS instance, is it possible?   I can check it in EM or run a query on the host itself or the same sqlplus via sysasm connection but would like to do if possible a procedure, but would need a link

    You can do that, because a link needs a dictionary of data at the other end to authenticate.

    I did it using Java in the RDBMS instance to connect to the instance of the ASM, and then run any query/DML/DDL. I can't give you the (intellectual property) code, but you could contact my employer (details in my profile) to see if he would release it.

    --

    John Watson

    Oracle Certified Master s/n

  • Perform spatial operations via dblinks

    Hi all

    I am trying to execute space operations through dblinks. Please see the example query below

    Select a.OGC_GEOMETRY.sdo_gtype in < table > @dblink where sdo_nn (a.OGC_GEOMETRY, mdsys.sdo_geometry (2001, null, mdsys.sdo_point_type (0.0, null), null, null), 'sdo_num_res = 1') = 'TRUE '.

    Query fails with the following error

    ORA-13249:

    ORA-06512: at the 'MDSYS. MD", line 1723
    ORA-06512: at the 'MDSYS. MDERR", line 17
    ORA-06512: at the 'MDSYS. PRVT_IDX', line 9
    * 13249. 00000 - "%s."
    * Cause: An internal error has occurred in the extensible spatial index *.
    component "". The text of the message is obtained from some
    another server component.
    * Action: Contact Oracle support with error Services exact text.*

    Same query works well in the original database, but fails with dblinks. Is it possible to perform spatial operations through dblink?

    Thank you and best regards,
    Rita

    Rita,

    Your request is quite independent, with all the objects on the server at the end of the dblink, so you'd think we should be able to do what you want to do.

    But you can not.

    See: http://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_index_query.htm#autoId9

    In particular:

    You cannot add a name to the link (dblink) database on behalf of a space in a query table, if a spatial index is defined on the table.

    Although my answer is probably not useful, I can't help him because there is a limit in the software. Of course, I answered your question. Thus, by the label of the forum, some points would be nice!

    concerning
    Simon

  • Dblink password problem

    Hi, I'm using oracle 10.2.0.4.

    I just imported data, and one of the imported objects using a dblink:

    IMP-00041: WARNING: object created with compilation warnings
    'CREATE VIEW 'USR_CONTROLFIN' OF THE FORCE '. FGF_TEMP_RUBRICA' ('RU'
    ("BRO", "DESCRIPCION") ACE "
    «Select rubro»
    "Descripción.
    "of rubros@abc."

    I just want to know if there is a way to recover the password used on dblink?
    Example:

    CREATE DATABASE LINK abc
    CONNECT to hr IDENTIFIED BY hr
    With the HELP of "abc";


    It is possible to get the settings for this dblink? I checked the dba_db_links view:
    OWNER, DB_LINK CREATED USERNAME HOST
    ---------------------------------------------------------------------------
    PUBLIC abc HIRS GF 16/11/2008




    Before I had only the HOST, there is a way to get the hr user name and/or password for HR?

    I'm afraid that some people get that information and access the base for this dblink. I know I could remove the dblink, but I'll try to improve my knowledge of this information.

    Thanks in advance.

    Thank you

    Published by: BSalesRashid on 05/30/2012 06:02

    Hello

    I don't know if you can version 10.2.x.x but you can check the column sys.link$ password table. As far as I remember 10.2.x.x version introduced oracle Mas column that store encrypted values and the password column has null values

    Anand

  • Where clause using dblink

    Dear friends,

    Is there a way to access some of the columns using dblink but without using the quotes?

    and also where clause without use of quote?

    Please guide me

    Thank you very much

    Nith

    user645399 wrote:
    But is it possible to access Oracle's SQL Server using dblink without quotes to select columns?

    YES, it is possible, but the table names and column names must be UPPERCASE only

  • Remote function call of dblink in a procedure by using the parameter as dblink

    Hello.

    Need to call a function of distance of a procedure with a parameter like dblink. Is this possible?

    EX:

    DECLARE
    remote_db varchar2 (10);
    exec_string varchar2 (100);
    result varchar2 (10);
    BEGIN
    remote_db: = myremotedb;
    exec_string: = ' miremotefunction@'|| exec_string | "in the result of the double."
    run immediately (exec_string);
    END;


    Any other sugestion?

    Thank you very much

    Any other sugestion?

    Yes, hide all remote objects behind local synonyms. Then you need dynamic SQL and avoid all the headaches.

    In the case of link names change in environments, and deployment, simply a new set of synonyms for each environment.

    Concerning
    Peter

  • Is it possible to update a column that has been selected as a KEY?

    Hello.

    I'm trying to run an interface that takes a distinct value of the column source and fill in the dimension of the target (table). Dimension of the target (table) has an another colum (surrogate key) which is filled through a sequence in oracle. Source and target are in Oracle. LMK used (Oracle Oracle (DBLINK) 2).

    Problem is when the key column must be defined with update so when I run the update checking interface in the active mapping window and update 'YES' in the IKM (incremental update of Oracle). I have an error message that ODI performs a step for updating the current lines (although table is empty) and says the table.column name is not valid. I agree that it makes sense, but how to solve this problem.

    If I select the surrogate (column number sewurnce) as gived key key always error. So to be precise how to deal with such a situation. Is it possible that I have create another column that is populated by a separate number by ODI and I do that as a key.

    Any help will be much appreciated.



    Table_name1 T update
    Set)

    ) =
    (
    Select

    of PFTW. I have _Table_name $ S
    where T.column_name1 = S.column_name1
    )

    where (column_name1)
    en)
    Select columns_name1
    of PFTW. I table_name1 $
    where IND_UPDATE = 'U '.
    )
    I'm the separate lines by checking the checkbox separate lines in the target zone properties window.

    As I understand it, you have two columns in the target, an excerpt from the Source a different surrogate key (that is, the sequence). In this case you would never updated, so go Oracle incremental updates with Option No. update and insert Yes.

  • Why I can not use "-" in a dblink name?

    Hi all

    I am trying to create a dblink with the name db1.lab - subdom1.domain.gob, as global_names settings are set to TRUE (we are Oracle Streams configuration) and the global_name of db1 is db1.lab - subdom1.domain.gob so I need to use the same name for the dblink.

    If the db_domain parameter accept the '-' and the global_name do too, then how I create the dblink with the same name if Oracle does not accept the "-"?

    Is it possible to scape this character?

    Or what is the response time for this case?

    Thanks in advance.

    Think about it.
    DB-LINK could mean subtract DB LINK.
    "-" is an arithmetic operator. just like '+', ' / ' & ' * ' are.

    Please mark as she replied if thread must be considered closed.

  • Create the remote database using dblink view

    Hello

    I have a small question for you.

    Is it possible to create the remote database using dblink view? Following syntax error

    create discover ViewName@DbLinkDame (ColumnName) as
    (select 1 double)

    "ORA-00905: lack of keyword.

    Is this possible at all?
    And particularly - is this possible when the remote database is MSSQL and I use heterogeneous services?

    I really appreciate your help
    Best regards
    Wojtek

    Published by: wojpik on October 21, 2009 03:59

    This is a workaround for a remote Oracle database (use the queue of work), however:

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:597877500346143250

    but I have no idea if something similar is possible for MSSQL...

  • DELETE in dblink on 10g

    Hello
    on 10g, we created DBLINKS to some other DBs. inserting into remote tables using DBLINK is fast enough, but deletions are very slow. Any idea? Oracle DBLINK in 10 g bugs?

    Thank you.

    You have more information about the problem?

    -The number of lines you delete?
    -You are referencing local tables, but also remote tables? You are referencing multiple remote tables?
    -Can you quantify "very slow"? For example, deleting a single line takes 1 second? 10 seconds? 10 minutes?
    -What is the query plan?

    There are a number of possible explanations - without more information, however, it is difficult to grasp more straws.

    Justin

  • public to package functions and variables via dblink

    It is possible to call a public global variable in a package in a database to another package procedure in another database use a database link? If so, could you let me know the syntax? Same question to package functions.

    Hello

    Check this link documentation especially the stmt...
    http://www.MCS.csueastbay.edu/support/Oracle/doc/10.2/AppDev.102/b14251/adfns_packages.htm#i1007858

    You cannot access remote package variables and constants.
    

    Maybe you can write a function in terms of the distance which, once called will returns the value of the variable.

    to call remote packaged functions...

    [documentation syntax is [[schema.] plan.] function_name[@dblink] [(param_1...param_n)]

    an example given in the link above for this...

    RUN fire_emp1@boston_server (1043);

    Ravi Kumar

    Published by: ravikumar.sv on August 31, 2009 11:29

  • is it possible to buy the iPhone 7 more unlocked and without a subscription which will work in Russia

    My friend is going to go to New York for the holidays of the maintains 21 October to 31 October. And I really want to buy the iPhone 7 more 128Gb it. I know that I need a free sim card or without a contract. I asked best buy about this and they said they don't sell iPhones with contracrs. Is this possible?

    Thank you.

    Apple has not announced when they will start to sell the iPhone Unlocked 7.

Maybe you are looking for

  • iMovie ken burns effect blocking

    version of iMovie 10.0.9 to apply the Ken Burns effect on photo, loss of definition occurs (blocking), but only during the movement of the effect. To stop the movement, the image completely covers the definition. If anyone has this happened, I'd appr

  • I've updated to 5 and the websit I need is only compatible with 3.5 and 3.6. I need complete my and financial assistance. Help!

    When I go to the FAFSA website and try to get on I get this error message: year Incompatible browser detectedYour browser is not supported by our Web site. You must use a compatible Web - Standard browser * to view our site properly. We recommend tha

  • How to activate the alarm battery?

    Hi, I have Lenovo Power manager icon on the taskbar, so I can monitor the battery charge. However, if I forgot to look at the icon, the laptop goes into hibernation unexpectedly. Is there a way to activate a visual alarm as an icon pop up that remind

  • my windows is not update___

    It's a few months my windows do not update. I used troubleshoot, but failed. Even windows recovery could not help. I should mention that I live in Iran and we are under sanction. I don't know if that could be the reason. Can you help me with the reas

  • KB973709

    I am running Vista Business on my Dell Lattitude E5500 laptop, I don't have Microsoft Home and Student 2007 installed here.  I have installede Visio on my computer.  SO WHY am I having to download an important for this program update, when I DON'T HA