Problem connecting DataBase Link from windows oracle to oracle on Linux

I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
CREATE DATABASE LINK SampleDB
CONNECT TO myuser IDENTIFIED BY password
USING 'sample';
The tns names entry on windows for database in Linux server is as follows
DSOFT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = sample)
But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
12154. 00000 - "TNS:could not resolve the connect identifier specified"
*Cause:    A connection to a database or other service was requested using
a connect identifier, and the connect identifier specified could not
be resolved into a connect descriptor using one of the naming methods
configured. For example, if the type of connect identifier used was a
net service name then the net service name could not be found in a
naming method repository, or the repository could not be
located or reached.
Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?

1005745 wrote:
I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
CREATE DATABASE LINK SampleDB
CONNECT TO myuser IDENTIFIED BY password
USING 'sample';
The tns names entry on windows for database in Linux server is as follows
DSOFT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = sample)
But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
12154. 00000 - "TNS:could not resolve the connect identifier specified"
*Cause:    A connection to a database or other service was requested using
a connect identifier, and the connect identifier specified could not
be resolved into a connect descriptor using one of the naming methods
configured. For example, if the type of connect identifier used was a
net service name then the net service name could not be found in a
naming method repository, or the repository could not be
located or reached.
Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?A database link is acting as a client to the target, remote database in exactly the same fashion and using exactly the same tns infrastructure as any other client trying to connect to that remote database. your ORA-12154 when querying a db link means exactly the same as if you had gotten it trying to connect with sqlplus, from the same server. Check the link SB provided. Keep in mind that the tnsnames file of concern is the one on the source database server.

Similar Messages

  • Problem with database links (naming) Windows/Linux

    Hi
    Windows xp SP3_
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 21 10:28:21 2012
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - Production
    name is PORCL30
    Linux (Ubuntu 12.04 LTS)_
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 21 10:28:21 2012
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - Production
    Name is GWORCL
    My domain is Initial-Surname.co.uk (I-Surname.co.uk)
    Tnsnames.ora
    PORCL30 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = home1.I-Surname.co.uk) (PORT = 1521) )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = PORCL30)
    (SERVICE_NAME = PORCL30.I-Surname.co.uk)
    GWORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = freds-server.I-Surname.co.uk) (PORT = 1521) )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = GWORCL)
    (SERVICE_NAME = GWORCL.I-Surname.co.uk)
    From Windows to Linux
    DROP DATABASE LINK "GWLINK4";
    CREATE DATABASE LINK "GWLINK4"
    CONNECT TO "SYSTEM" IDENTIFIED BY VALUES '051BDCE........D55BB704DA'
    USING 'GWORCL';
    results in a working database link named 'GWLINK4.I-Surname.co.uk'
    Where as
    Linux to Windows
    DROP DATABASE LINK "PLINK4";
    CREATE DATABASE LINK "PLINK4"
    CONNECT TO "SYSTEM" IDENTIFIED BY VALUES '0550AA0F39......AE5EF62220FE5A323'
    USING 'PORCL30';
    name is PLINK4 as determined by
    select DB_LINK from user_db_links;
    So what is different between the two databases other than the operating systems they run on? What should I examine?
    I should add that the linux PC is Internet facing and has a Public IP address (USB mobile broadband Modem) to which I-Surname.co.uk resolves via (ZoneEdit.com and ddclient). The ethernet lan port 10.10.1.35 connects to a switch where 10.10.1.30 (home1) is also connected (10.10.1.10 is the AD server)
    Thanks for your time
    Edited by: Neill_R on Nov 21, 2012 1:09 PM

    The problem is that the databases do not work in the same way. As I have said one produces DBLINK.i-surname.co.uk and the other DBLINK. Both machines are members of the i-surname.co.uk domain.
    In Sqldeveloper one can not alter the DBLINK since it has a "-" character (.I-Surname.co.uk)
    Why the difference?
    connect system@TNSGWORCL
    CREATE DATABASE LINK PLINK
    CONNECT TO SYSTEM IDENTIFIED BY
    USING 'TNSPORCL30';
    Connect system@tnsporcl30
    CREATE DATABASE LINK GWLINK
    CONNECT TO SYSTEM IDENTIFIED BY
    USING 'TNSGWORCL';
    connect system@tnsgworcl
    Enter password:
    Connected.
    select 1||' - '||db_link from sys.user_db_links
    union
    select 2||' - '||db_link from sys.user_db_links@PLINK
    DB_LINK
    1 - PLINK
    2 - GWLINK.I-SURNAME.CO.UK
    SQL> connect system@tnsporcl30
    Enter password:
    Connected.
    select 1||' - '||db_link from sys.user_db_links
    union
    select 2||' - '||db_link from sys.user_db_links@GWLINK
    DB_LINK
    1 - GWLINK.I-SURNAME.CO.UK
    2 - PLINK
    Tnsnames.ora
    # tnsnames.ora Network Configuration File: /opt/oracle/11g/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TNSGWORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = freds-server.i-surname.co.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = GWORCL)
    (SERVICE_NAME = GWORCL.i-surname.co.uk)
    TNSPORCL30 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = home1.i-surname.co.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = PORCL30)
    (SERVICE_NAME = PORCL30.i-surname.co.uk)
    )

  • Problem with using database link from oracle 7 to oracle 9i

    Hi To Every One
    I have two oracle database oracle 7.3.4.0.1 and oracle 9i 9.2.0.1.0.
    and the tns alias to connect to oracle 9i database is oracle9i and tns
    alias to oracle 7 database is oracle7.I have no problem in connect to
    these database using these tns aliases from either database.The tns
    alias for oracle 7 is available in tnsnames.ora file of oracle9i and
    tns alias for oracle 9i is available in tnsnames.ora file of oracle 7.
    So there is no connection problem from each other.Connection is
    working fine for each other but the problem with database links is
    like this
    Problem:
    when i create database link from oracle9i user or public database link
    from oracle9i for oracle7 user like this
    SQL ORACLE9I >CREATE DATABASE LINK ORACLE7 CONNECT TO <ORACLE7USER>
    IDENTIFIED BY <PASSWORD> USING 'ORACLE7';
    OR
    SQL ORACLE9I >CREATE PUBLIC DATABASE LINK ORACLE7 CONNECT TO <ORACLE7USER>
    IDENTIFIED BY <PASSWORD> USING 'ORACLE7';
    The links get created sucessfully but when i write command like
    SQL ORACLE9I> DESC <ORACLE7USER_NAME>.<ORACLE7USER_TABLENAME>@ORACLE7
    I RECEIVE A ORACLE ERROR LIKE
    ORA-12663 SERVICE REQUIRED BY CLIENT IS NOT AVAILABLE ON THE SERVER.
    OR IF MY COMMAND IS LIKE
    SQL ORACLE9I> SELECT <FEILD_NAME> FROM
    <ORACLE7USER_NAME>.<ORACLE7USER_TABLENAME>@ORACLE7;
    I RECEIVE AN ORACLE ERROR LIKE
    ORA-01002 FETCH OUT OF SEQUENCE.
    ORA-02063: preceding line from ORACLE7
    BUT IF I CREATE A LINK FROM ORACLE7 USER FOR ORACLE9I USER
    IT WORKS FINE.
    PLZ HELP ME WHAT IS THE PROBLEM THAT THE LINK FOR ORACLE 7 IS NOT WORKING WHEN
    IT IS BEING CREATED FROM ORACLE9I.
    Thank u.

    Oracle 9.2.0 does not support connectivity to Oracle 7. The newest version that will support this is 9.0.1.

  • Create a Database Link from Oracle to MYSQL on windows

    Hi
    I need to create a database link from oracle to mysql database on windows to fetch some records.Can anyone help me on this?

    Search for Transparent Gateways, Heterogeneous Services...
    The Oracle SQL Developer have drivers to Access, MySQL and SQL Server.

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Creation of database link from oracle to sql server 2000

    Hi
    I need to create a database link from oracle to sql server 2000.

    Assuming your Oracle database is running on Windows, you can set up a database link using ODBC using Heterogeneous Services and Generic Connectivity, but there are some functional limitations (i.e. no two-phase commits). If you can live with those limitations but aren't on Windows, you can generally purchase an ODBC driver for your operating system that will connect to SQL Server through someone like DataDirect and still use Generic Connectivity. If you cannot live with those limitations, you can purchase one of Oracle's Transparent Gateway products (though this can get somewhat pricey).
    What version of Oracle are you on?
    What operating system(s) are you using?
    What are you going to use the database link for?
    Justin

  • To create a database link from oracle to sqlserver with NT authentication

    Hi ,
    I need to create a database link from oracle 9i to sql server database with windows authentication.I dont have the database username and password instead the access is given to my NT ID and password.So can anyone provide me the information about creating a dblink to sql server with windows authentication.
    Thanks

    Oracle is attempting to log in to SQL Server using NT authentication.
    The Oracle process, however, is running presumably with a local admin account (normal for a Windows service). SQL Server has no idea what this local account is, so it denies the login.
    You could change the Oracle service to run as a known user (presumably not as your Windows ID but some other Windows ID you create explicitly for Oracle) and then grant that Windows ID in SQL Server appropriate privileges. That would mean, though, that when you queried tables over the database link, you'd be using that new Windows ID's privileges on SQL Server, not your Windows ID's privileges.
    As I've said, though, this is a general architectural limitation for a multi-tier architecture. The end system (SQL Server) generally has no idea who the end user (your Windows ID) is when that user is coming through a middle tier (Oracle). So it cannot apply end-user permissions to connections created by the middle tier.
    Justin

  • Creating Database Link from Oracle to SQL Server

    I am trying to create a database link from Oracle to SQL Server, and the documentation is about as clear as mud to me. Can anyone send me clear instructions on exactly what I need to do? What needs to be in tnsnames.ora and listener.ora files? Is there anything other than those two files that needs to be set up? Do I set up an ODBC connection? Anything else? I want to execute queries against a SQL Server database and load data into Oracle database.
    Thanks so much,
    Susan

    These are the instructions from an old document I created. The steps are same for SQL Server and Sybase. Hope it helps.
    The 9i Transparent Gateway Software is in Oracle Software CD -> oracle9i database -> Custom -> Oracle Transparent Gateways
    The gateway can be installed on the same machine as the Oracle database or
    on the Sybase server or on a third machine as a stand-alone.
    We have installed the gateway software in one of oracle database
    servers in a separate oracle home.
    These are the steps involved in configuring a gateway to a Sybase database
    1.     Install Sybase client and Gateway software on the Gateway Server
    2.     Configure <initsidfile> in the Gateway Server's <gatewayhome>
         /u00/app/oracle/product/9.2.0/tg4sybs/admin/init<gatewaysid>.ora
    Sybase server and database information is required for this step.
    eg: HS_FDS_CONNECT_INFO=USTRUD01.uwd
    3.     Add an entry in listener.ora in <listnenerhome>
         (/u00/app/oracle/product/9.0.1/network/admin/listener.ora) for the <gatewaysid>
    4.     Edit the tnsnames file (/u00/app/oracle/product/9.0.1/network/admin/tnsnames.ora)
    to add an entry <tnsalias> for the <gatewaysid>
    5.     Create a database link to the Sybase database in the oracle database.
    The steps for creating the database link are
    a. create a login oracle_tgw in the sybase server
    b. add the user to the sybase database with the necessary privilege on the tables
    c. create the database link in the required oracle database using the command
         "create public database link <dblinkname> connect to oracle_tgw identified by password using 'tnsalias'; "
    6.     Restart the gateway listener.

  • Database link from oracle to db2

    Can any help me to create a database link from oracle to db2. It would be greatful if you can provide me detail steps

    <p>You don't give us much information to go on. What version of Oracle? What platform is DB2 running on? You might want to take a look at <b>this</b>. You might also look <b>here</b> and <b>here</b>.</p>
    Tom

  • How to create database link from oracle to sql server

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal
    Hi Vishal,
    I found a lof of information regarding how to create a database link from Oracle to SQL Server, please see:
    https://www.google.co.in/?gws_rd=cr&ei=vd3XUvGFO8TgkAXqlYCADg#q=how+to+create+database+link+from+oracle+to+sql+server
    We discuss SQL Server related issue in this forum. If you have any more question regarding Oracle, please post it in Oracle communities forum for better support.
    Regards,
    Elvis Long
    TechNet Community Support

  • Database link from Oracle8i to Oracle9i

    Hi,
    I am trying to create a database link from an oracle 8i database to connect to an oracle 9i database ... When testing the connection , I always receive an error "The Database link is not active"
    Notes
    1- Creating a database link that connects from the same 8i database to another 8i database succeeds. This gave me the impression that it is a compatibility problem but I am not sure.
    2- I changed the initialization parameter
    global_names = falseand restarted the Oracle database
    3- the 2 databases are on the same domain
    Did anyone pass through this problem before ??
    thanks

    Well, I was testing the database link via DBA studio and there was no ora error associated with the message.
    A friend helped me to identify and sove the problem. here is what he did.
    Lets assume that the oracle8i database called Ora8i
    and the oracle9i database called Ora9i
    and that the network domain name is OraTest.com
    When i select * from global_name; on both databases
    Ora8i database return ==> ora8i
    Ora9i database return ==> Ora9i.us.oracle.com
    We then execute the following statement on Ora9i database
    alter database rename global_name to Ora9i.OraTest.com;
    Testing the database link after that went fine.
    Thanks

  • Strange problem with Database LInk

    Hi Everyone,
    I have strange problem with Database Link in Oracle 11g Express Edition;
    There are two computers: computer-server and computer-client. Tnsnames.ora are the same on both computers ie.
    CT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof)(PORT = 1521))
    (CONNECT_DATA = (SERVICE_NAME = XE)
    I created database link :
    Create database link zdalny
    Connect to <user_id> identified by <password>
    using ‘CT’;
    Client can’t connect with server when I am using above command. But when I change “using” for using ‘krzysztof:1521’ or using ‘krzysztof’ or using ‘server IP:1521’ – everything is ok.
    Why I am asking. Because in all materials which I am reading about Oracle command with using ‘CT’ should be working correct. But there is not. Do you know, why?
    Thanks in advance and apologize for my English.
    Rgds
    Krzysztof

    Krzysztof Szymaniak wrote:
    Thanks for all replies.
    Below is server's tnsnames.ora
    CT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specifie
    Rgds
    Krzysztof
    PS. I tried with using 'XE' - not working.Assuming that is the correct tnsnames, of course XE is not working. You don't have a tnsnames entry for 'XE'.
    You need to be aware that when using a dblink, the client is the db in which the link is defined, not the desktop from which you connect to that database.
    I think you need to start here:
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/
    http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ (Help! I can’t connect to my database )
    http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ (Help! I can’t connect to my database (part duex) )
    The fact that your client (db link) is a database doesn't change anything taught in the above.

  • How can i get data from another database SQL Server use database link from

    I have a database link from Oracle connect to SQL Server database with user cdit connect default database NorthWind.How can I get data from another database(this database in this SQL Server use this database link)?

    hi,
    u should see following documentation:
    Oracle9i Heterogeneous Connectivity Administrator's Guide
    Release 1 (9.0.1)
    Part Number A88789_01
    in it u just go to chapter no. 4 (using the gateway),,u'll find ur answer there.
    regards
    umar

  • DATABASE LINK from 92060 to 102030 issue

    Hi All,
    Question on Database link:
    Database A -- 10.2.0.3.0
    Database B -- 9.2.0.6.0
    Created database link from 10g to 9i and it works fine as expected.
    I tried from BOTH server and also a CLIENT (SQLPLUS from my PC).
    Created databas elink from 9i to 10g and it works fine on server
    for example:
    SQL> select sysdate from dual ;
    SYSDATE
    10-APR-07
    SQL> select sysdate from dual@<<DBLINKNAME>> ;
    SYSDATE
    10-APR-07
    However, I'm unable to connect using SQLPLUS.
    for example:
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL> select sysdate from dual ;
    SYSDATE
    10-APR-07
    SQL> select sysdate from dual@daspnprd ;
    select sysdate from dual@daspnprd
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name
    Note;
    =====
    NO change in tnsnames.ora or LDAP.. ALL are identical
    Any known issues???
    Please help!!

    Make sure you are resolving with LDAP, (check the sqlnet.ora contents) and not the local tnsnames. Verify the entry at the OID and verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier.

  • Database link from XE to 8i - Ok for XE, but error ORA-12705 for ApEx

    I have oracle 8.1.7.4 (8i) with these settings:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    {color:#ff0000}NLS_CHARACTERSET CL8MSWIN1251{color}
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT dd-mon-rr
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    {color:#ff0000}NLS_NCHAR_CHARACTERSET CL8MSWIN1251{color}
    NLS_RDBMS_VERSION 8.1.7.4.0
    And oracle XE:
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    {color:#ff0000}NLS_CHARACTERSET AL32UTF8{color}
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    {color:#ff0000}NLS_NCHAR_CHARACTERSET AL16UTF16{color}
    NLS_RDBMS_VERSION 10.2.0.1.0
    I create database link from XE to 8i - it works fine:
    I create view in XE based on table from 8i
    and using SQL Developer {color:#0000ff}I can Select/Insert{color} into this view {color:#0000ff}from XE{color}.
    BUT when I login {color:#0000ff}to Application Express{color} and try the same SELECT from the view - {color:#0000ff}I get error:{color}
    ORA-12705: ORA-12705: invalid or unknown NLS parameter value specified
    ORA-02063: preceding line from LINKED8i
    What should I do to make Application Express work with the view based on table in remote database correctly - i.e. allow me to Select/Insert/... ?

    Hi,
    i don't have a solution for your problem but i want to share with you my research in using Database Links with XE/Apex.
    I have done it a in a lot of projects and in most of all cases it shows a strange behavior when using Database Links via Apex. As far as i know SQL-Request in Apex are executed via the DBMS_SQL-Package. And that seems to be source for all errors and strange behaviors you get.
    If you post a SQL-Request directly from your XE, everything's fine. If you do the same from APEX, sometimes it is very slow and sometimes it fails.
    So, my approach to this issue is to work with Materialized Views. Your can create MV's on your XE to reference your remote tables and even schedule refreshes. In Apex, you only work with these MV's instead of the remote tables. And everything's going to be fine!
    Hope this helps!
    Regards, Jens

Maybe you are looking for

  • Canon iR-ADV C7055 Missing Paper Sizes

    We have a Canon iR-ADV C7055 using the imagePass A1 Fiery controller. When I try to print tabs (9"x11") from Adobe InDesign CS5, I go to the Print dialog box, click Setup and click on the Paper Size drop down menu. Tab Paper (Letter) is missing, whic

  • Cannot start Adobe Media Encoder in Adobe Premiere Pro 2.0

    Dear all you guys, I have a problem with adobe media encoder. When i start AME it shows nothing i d't know how to find it. please help me to fix that. Thx so much.

  • Please need help in ora-03134

    Good Day i'm using oracle database Release 10.2.0.1.0 and need to connect to release 8 when config the Net Configuration Assistant and connect to sql*plus error ora-03134 ,then download patch 10.2.0.5.0 PATCH SET FOR ORACLE DATABASE SERVER and the er

  • Camera on iphone 6

    When taking a photo the subject does not fill the entire screen.   Then, when taken, and one looks at it it becomes a square in the middle of the screen.   The camera is set for "photo".   Isn't it supposed to fill the screen?

  • How can i change the blue backgroung color ?

    The top of the Firefox page is a light blue color. How can I change it to another color ?