Oracle 11 GR 1 material - with SEPARATE problem

A very simple request: I want to select the contracts, suppliers, products and count how many times product ordered and how many flags have been used in these orders.

CREATE TABLE T1 AS
SELECT 'A1' ORD, 1 LOCN, 123 CONT VNDR 111, 'P' FLG, SYSDATE DOUBLE DT
UNION SELECT 'A2', 1, 123, 111, 'P', DOUBLE SYSDATE
UNION SELECT 'A3', 1, 123, 101, THE FROM ', DOUBLE SYSDATE
UNION SELECT 'A4', 1, 233, 137, 'P', DOUBLE SYSDATE
UNION SELECT 'A5', 1, 233, 137, THE FROM ', DOUBLE SYSDATE
UNION SELECT 'A6', 1, 354, 321, THE FROM ', DOUBLE SYSDATE
UNION SELECT 'A7' 1, 776, 656, THE FROM ', DOUBLE SYSDATE

;

CREATE TABLE T2 AS
SELECT 123 CONT, VNDR 111, 50 DOUBLE PROD
UNION SELECT 123,111,60 FROM DUAL
UNION SELECT 123,111,65 FROM DUAL
UNION SELECT 233,137,60 FROM DUAL
UNION SELECT 233,137,11 FROM DUAL
UNION SELECT 354,321,44 FROM DUAL
UNION SELECT 776,656,14 FROM DUAL
UNION SELECT 123,191,49 FROM DUAL

;

AS DUP
(
SELECT T1. SUITE
T1. VNDR
T2. PROD
COUNT (DISTINCT T1. FLG) FLG_CNT
COUNT (*) PROD_CNT
FROM T1
T2
WHERE T1. CONT = T2. SUITE
AND T1. VNDR = T2. VNDR
GROUP T1. SUITE
T1. VNDR
T2. PROD
HAVING COUNT (*) > 1
)
SELECT DISTINCT
T1. SUITE
T1. VNDR
DUP. PROD
T1. FLG
T1. DSB
T1. DT
DUP. FLG_CNT
DUP. PROD_CNT
FROM T1
DUP
T1. CONT = DUP. CONT
AND T1. VNDR = DUP. VNDR
AND T1. LOCN = 1

ORDER OF DUKE. PROD_CNT / / DESC
DUP. FLG_CNT / / DESC
T1. SUITE
T1. VNDR
DUP. PROD
T1. FLG
T1. DSB
;

When I ran it I got

ORA-01791: not a SELECTed expression

01791 00000 - "not a selected expression.

* Cause:

* Action:

Error on line: column 25: 27

Now let's remove DISTINCT COUNT

Œuvres query!

Now makes it possible to SEPARATE the County drop and SEPARATE from the SELECT

Query still works!

Now put all separate and comment 'AND T1. LOCN = 1 "

Query works again!


Now put an "ORDER BY" comment

Application, it works!

What a mess!

Why the use of SEPARATE leads to an error?

I'm a contributor to the original poster.  I managed to recreate the issue on our 11.1.0.7 of databases, but not on any other version including 9.2, 10.2, 11.2.0.3, 11.2.0.4 and 12.1.0.2.  I guess it's a 11.1.0.7 bug or a bug introduced by a patch we have above 11.1.0.7.

-Bobby

Here is the log:

SQL >
SQL > select * from v version $;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE Production 11.1.0.7.0
AMT for HP - UX: 11.1.0.7.0 - Production Version
NLSRTL Version 11.1.0.7.0 - Production

SQL >
SQL > drop table t1;

Deleted table.

SQL > drop table t2;

Deleted table.

SQL >
SQL > CREATE TABLE T1 AS
2. SELECT 'A1' ORD, 1 LOCN, 123 CONT VNDR 111, 'P' FLG, SYSDATE DOUBLE DT
3 UNION SELECT 'A2', 1, 123, 111, 'P', DOUBLE SYSDATE
4 UNION SELECT 'A3', 1, 123, 101, THE FROM ', DOUBLE SYSDATE
5 UNION SELECT 'A4', 1, 233, 137, 'P', DOUBLE SYSDATE
6 UNION SELECT 'A5', 1, 233, 137, THE FROM ', DOUBLE SYSDATE
7 UNION SELECT "A6", 354, 1, 321, THE FROM ', DOUBLE SYSDATE
UNION SELECT 'A7' 8, 776, 1, 656, THE FROM ', DOUBLE SYSDATE
9;

Table created.

SQL >
SQL > CREATE TABLE T2 AS
2. SELECT 123 CONT, VNDR 111, 50 DOUBLE PROD
3 UNION SELECT 123,111,60 FROM DUAL
4 UNION SELECT 123,111,65 FROM DUAL
5 UNION SELECT 233,137,60 FROM DUAL
6 UNION SELECT 233,137,11 FROM DUAL
7 UNION SELECT 354,321,44 FROM DUAL
8 UNION SELECT 776,656,14 FROM DUAL
9 UNION SELECT 123,191,49 FROM DUAL
10;

Table created.

SQL >
SQL > DUP AS
() 2
3. SELECT T1. SUITE
4            ,T1. VNDR
5            ,T2. PROD
6, COUNT (DISTINCT T1. FLG) FLG_CNT
7, COUNT (*) PROD_CNT
8 FROM T1
9, T2
10. WHERE T1. CONT = T2. SUITE
11 AND T1. VNDR = T2. VNDR
12 GROUP T1. SUITE
13              ,T1. VNDR
14              ,T2. PROD
15 HAVING COUNT (*) > 1
16)
17 SELECT DISTINCT
18 T1. SUITE
19, T1. VNDR
20, DUP. PROD
21, T1. FLG
22, T1. DSB
23, T1. DT
24, DUKE. FLG_CNT
25, DUP. PROD_CNT
26 OF T1
27, DUP
28. WHERE T1. CONT = DUP. SUITE
29 AND T1. VNDR = DUP. VNDR
30 AND T1. LOCN = 1
31 ORDER OF DUP. PROD_CNT / / DESC
32, DUP. FLG_CNT / / DESC
33, T1. SUITE
34, T1. VNDR
35, DUP. PROD
36, T1. FLG
37, T1. DSB
38;
COUNT (DISTINCT T1. FLG) FLG_CNT
*
ERROR on line 6:
ORA-01791: not a SELECTed expression

Tags: Database

Similar Questions

  • Don't take any Message When installing Oracle 11 g 1 material with dbca on Solaris10

    Hi people Oracle,.

    Please can someone help me;

    When installing Oracle 11 GR 1 material with dbca on Solaris10 als I get to the last step with the creation of database after clicking on finish OK for HTLM model it takes too much time.
    And nothing out like the other error more than an hour. It's just waiting without installation procedure. Nothing
    I tried uninstall-install-uninstall-install but nothing. I google but nothing.
    Reason why I'm asking you please your advice, or a good link where to look.


    I thank in advance
    Sincerely
    Easyman

    It was just a workaround solution, since I plugged directly in the external display. Try this with X fonts.

  • Oracle 11g R1 - with SEPARATE problem

    A very simple request: I want to select the contracts, suppliers, products and count how many times product ordered and how many flags have been used in these orders.

    CREATE TABLE T1 AS
    SELECT 'A1' ORD, 1 LOCN, 123 CONT VNDR 111, 'P' FLG, SYSDATE DOUBLE DT
    UNION SELECT 'A2', 1, 123, 111, 'P', DOUBLE SYSDATE
    UNION SELECT 'A3', 1, 123, 101, THE FROM ', DOUBLE SYSDATE
    UNION SELECT 'A4', 1, 233, 137, 'P', DOUBLE SYSDATE
    UNION SELECT 'A5', 1, 233, 137, THE FROM ', DOUBLE SYSDATE
    UNION SELECT 'A6', 1, 354, 321, THE FROM ', DOUBLE SYSDATE
    UNION SELECT 'A7' 1, 776, 656, THE FROM ', DOUBLE SYSDATE

    ;

    CREATE TABLE T2 AS
    SELECT 123 CONT, VNDR 111, 50 DOUBLE PROD
    UNION SELECT 123,111,60 FROM DUAL
    UNION SELECT 123,111,65 FROM DUAL
    UNION SELECT 233,137,60 FROM DUAL
    UNION SELECT 233,137,11 FROM DUAL
    UNION SELECT 354,321,44 FROM DUAL
    UNION SELECT 776,656,14 FROM DUAL
    UNION SELECT 123,191,49 FROM DUAL

    ;

    AS DUP
    (
    SELECT T1. SUITE
    T1. VNDR
    T2. PROD
    COUNT (DISTINCT T1. FLG) FLG_CNT
    COUNT (*) PROD_CNT
    FROM T1
    T2
    WHERE T1. CONT = T2. SUITE
    AND T1. VNDR = T2. VNDR
    GROUP T1. SUITE
    T1. VNDR
    T2. PROD
    HAVING COUNT (*) > 1
    )
    SELECT DISTINCT
    T1. SUITE
    T1. VNDR
    DUP. PROD
    T1. FLG
    T1. DSB
    T1. DT
    DUP. FLG_CNT
    DUP. PROD_CNT
    FROM T1
    DUP
    T1. CONT = DUP. CONT
    AND T1. VNDR = DUP. VNDR
    AND T1. LOCN = 1

    ORDER OF DUKE. PROD_CNT / / DESC
    DUP. FLG_CNT / / DESC
    T1. SUITE
    T1. VNDR
    DUP. PROD
    T1. FLG
    T1. DSB
    ;

    When I ran it I got

    ORA-01791: not a SELECTed expression

    01791 00000 - "not a selected expression.

    * Cause:

    * Action:

    Error on line: column 25: 27

    Now let's remove DISTINCT COUNT

    Œuvres query!

    Now makes it possible to SEPARATE the County drop and SEPARATE from the SELECT

    Query still works!

    Now put all separate and comment 'AND T1. LOCN = 1 "

    Query works again!


    Now put an "ORDER BY" comment

    Application, it works!

    What a mess!

    Why the use of SEPARATE leads to an error?

    This forum is for discussions of installation problems.

    I think you want the forum SQL-PL/SQL – PL/SQL and SQL

  • With SEPARATE problem

    Why this code does not work?
    Select 
        Distinct(Substr(to_char(termid),1,2))
    
    From StoredGrades
    
    Where termid >= 1800
    
    Order By termid
    [Error code: 1791, SQL State: 42000] ORA-01791: not a SELECTed expression

    Hmm...

    satyaki>
    satyaki>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    
    Elapsed: 00:00:01.54
    satyaki>
    satyaki>
    satyaki>select distinct(substr(to_char(empno),1,2)) res
      2  from emp
      3  where sal > 1000
      4  order by empno;
    order by empno
             *
    ERROR at line 4:
    ORA-01791: not a SELECTed expression
    
    Elapsed: 00:00:00.13
    satyaki>
    satyaki>
    satyaki>select distinct(substr(to_char(empno),1,2)) res
      2  from emp
      3  where sal > 1000
      4  order by substr(to_char(empno),1,2);
    
    RE
    --
    74
    75
    76
    77
    78
    79
    
    6 rows selected.
    
    Elapsed: 00:00:00.05
    satyaki>
    

    Kind regards.

    LOULOU.

  • Oracle 11 GR 1 material DBCA question

    People,

    Hello. I'm under Dabase Oracle 11 GR 1 material with Oracle Linux 5. I tried to use DBCA to create a database on the Server Instance.
    After step 15 15, DBCA is to copy the database file, up to 4%, DBCA cannot continue and any OS Oracle Linux 5 becomes dead.
    I tried 3 times and get the same problem. I have shut off the power and restart the operating system and DBCA. I tried to delete the instance name DB just created, but it cannot be deleted. It cannot be configured either.

    My questions are:

    First of all, 11 GR 1 material DBCA has a problem?
    Second, Oracle Linux 5 does not have a problem because it is Open Source?

    Maybe your server is out of resources?

    How much RAM does?

    How much space does swap has?

    What is the size of the SGA you configure for the database instance, you create?

    The OS logs indicate why "everything OS Oracle Linux 5 becomes dead '?

    Hemant K Collette

  • Anyone know when will fixed the problem of material with the "IPAD PRO"? The question that keeps it from starting after the load.

    Anyone know when will fixed the problem of material with the "IPAD PRO"? The question that keeps it from starting after the load.

    According to Apple, it has been addressed in the latest update of the iOS, iOS 9.2.

  • Materialized with dynamic input possible view?

    Hello

    We have some end users have a very complex query of SQL reports (~ 2500 lines) they came with.  We are trying to tune and to create additional indexes as needed.  He has made more than one aggregation of xml and the chain in select statements.  in any case while I'm looking for other methods deal with the problem regardless of a potentially inefficient SQL query.

    In my opinion, they said that the query taking ~ 6000 sec to finish and basically http sessions expire of their web application after 4000 seconds of inactivity.  They have a few dynamic user input from the web page which is fed in the request for multiple WHERE clauses.  So I think we want to have this query that is run in offline mode (after the user input is collected) as well as the results stored in a table, then the wep app can do a simple select query to retrieve data from the table of results later.

    Is there a way to create a materialized view and replace user with some variables bind input and update the values of the variables bind with the participation of the user whenever they want the data, and then refresh the materialized view?  Or if there is a better mechanism for Oracle to run asynchronously this query offline with dynamic input and then store the results in a table?  My problem is that I don't know if they can call a sp and feed the bind values as parameters, but maybe I need to force them to.  I really don't want to process SQL statements dynamic that their request is so great andt hey asked me on GTT, but I was under the impression that the data is lost after each session and probably wouldn't really solve anything.  Thoughts?


    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    Web pages should return something in<5s or="" the="" end-user="" will="" hit="" the="" refresh="" button="" again="" and="" again="" and="" again="" and="">

    Do something like this:

    • store the query to run the sql in a table with the values for the variables bind (parent table)
    • run the SQL in the background via DBMS_SCHEDULER
    • store the results in a partitioned table. (child table) (I assume a large amount of data)
      • for example, use a partition of range interval by sequence ID 1. of the parent
    • update the parent with the status table "Hey, I'm made.
    • Maybe the applicant send an email.
    • Web page queries only the parent table.
    • a scheduled task removes the no-more-required data through DROP PARTITION.

    MK

  • Install PT8.53 with Linux problem: unable connect in Bootstrap Mode of Data Mover

    People,

    Hello. I install PeopleTools 8,53 Internet Architecture. Server database is the database Oracle 11 GR 1 material. Operating system is Oracle Linux 5.

    I installed successfully JDK7, WebLogic Tuxedo 11 GR 1 material and PeopleTools 8,53 10.3.6, in Oracle Linux 5.

    I've been setting up PeopleTools 8,53 Instance database. Because the Wizard installation problem, I created PeopleTools 8,53 Database Instance PT853 manually. I have run the following scripts:

    (1) utlspace.sql

    (2) dbowner.sql

    (3) psadmin.sql

    (4) psroles.sql

    (5) connect.sql

    Then, we perform Data Mover script in a Windows XP Client computer to fill the PeopleTools PT853 database machine Linux Sever instance. I installed Oracle Database 11 g 2 client for 32-bit Windows XP 64 - bit Windows virtual machine and run it successfully.

    In Oracle Linux 5 Server Machine Net Manager:

    Service name: PT853

    Connection type: default database

    "TCP/IP Protocol".

    Host: 192.168.196.102

    Port: 1521

    Listener: LISTENER

    Protocol: TCP/IP

    Host: 192.168.196.102

    Port: 1521

    I test the Service PT853 with "SYSADM" username and password "SYSADM". The connection is successful.

    In the Windows XP Client computer, the information in the Net Manager is the same as below:

    NET Service Name: PT853

    Protocol: TCP/IP

    The host of the database Machine name: 192.168.196.102

    Port: 1521

    Name of the Basic Service: PT853

    Connection type: default database

    I test the connection using 'SYSADM' and it is successful as well. This means that Windows XP database Client can connect with the server database Oracle Linux 5 successfully. But in the computer Windows XP Client, Data Mover cannot connect in Bootstrap Mode using "SYSADM". Its details are below:

    Configuration manager:

    Type of database: Oracle

    The database name: PT853

    User ID: SYSADM

    Connect ID: people

    Connect password: people

    Data Mover:

    Type of database: Oracle

    User ID: SYSADM

    Password: SYSADM

    When connect in Bootstrap Mode of Data Mover, I got the same error:

    ORA - 12154:TNS: can not resolve the connect identifier specified. Invalid user ID and password for the access code.

    Based on my understanding, in the Oracle database, the Data Mover Bootstrap mode connection requires a PSDBOWNER table with a 'Database name PT853 and UserID SYSADM' entry.

    The problem is that the PSDBOWNER table doesn't have a line after that I run 5 scripts above. I am looking at runs 5 scripts one by one as below:

    (1) running the utlspace.sql script creates spaces of table 2 (PSTEMP, PSDEFAULT). This script can not create 2 storage spaces. So, I created 2 tablespaces manually.

    (2) running the psdbowner.sql script creates the PSDBOWNER table. This script creates the PSDBOWNER table successfully, but the last line by pressing "connect system/manager", had this error: user not valid Word name and pass. logon denied. I ignore this error and continue the following script.

    (3) running the psroles.sql script created the roles PSUSER and PSADMIN. This script runs successfully without error.

    (4) running the psadmin.sql script creates ownerID SYSADM and ownerID password SYSADM. When this script runs the last line 'connect system/manager', had this error: user not valid Word name and pass. logon denied. I ignore this error and continue the following script.

    (5) running the connect.sql script creates connectID 'people' and connect password "people." This script runs successfully without error.

    My questions are:

    First of all, in the database Oracle Linux 5 server machine, when I created the instance of database PT853 using DBCA, on the management of the password for the user 'system', I unlocked it and change his password for 'system '. It causes the scripts 'psdbowner.sql' and 'psadmin.sql' got the error "username and password"? If so, how to fix?

    Second, after you run 5 scripts above, why there is no line in the table for Data Mover Bootstrap PSDBOWNER to open a session? How to solve this problem?

    Thirdly, can I just insert a line 'PT853 SYSADM' into the table PSDBOWNER for Data Mover Bootstrap to open a session?

    Thanks in advance.

    By default, the password of the population is peop1e.

    Once more, you shouldn't do anything 'manually' on the database, scripts do everything for you. Unless something is wrong.

    > When this script runs the last line 'connect system/manager', had this error: user not valid Word name and pass. logon denied. I ignore this error and continue the following script.

    I really wonder why ignore the error. This meant everything that your system password is not responsible, but something else that you set when creating the database. Never happens to you to check the script before you run it and change it if necessary?

    Nicolas.

  • create a materialized with sizes of specific columns view

    Hi all

    I am creating a materialized with a specific column size view. Something like
    create materialized view test_mv
    refresh force on demand
    as
    select id, 
           cast(my_compound_field as nvarchar2(50))
    from ( select id, 
                  field1 || field2 my_compound_field
           from   my_table);
    But Oracle seems to ignore the cast and takes the maximum size it finds for field1 | Field2 in the select query. The resulting table has a nvarchar2 (44) instead of nvarchar2 column (50).

    Which can be a problem when the display is updated... There could be new data that exceeds the current size, which is where length(field1 || field2) > 44.

    How can I change the size of the column to a field in a materialized view?

    Edit: Some extra info to clarify my case:
    Field1 and Field2 are defined as nvarchar2 (25). Field1 | Field2 can theoretically have a length of 50, but currently there is no data in my table that results from this length, the max is 44. I fear that in the future there is data that is greater than 44, which results in an error when the MV is refreshed!

    Published by: Pleiadian on January 25, 2011 14:06

    Try the substr function.

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/functions181.htm#i87066

  • Presario SR1463CL with drivers problems

    Please be tolerant of beginners.

    I purchased a SR1463CL to add to a DELL Dimension - old but never fails. -the HARD drive was crushed. I replaced the HDD Samsung with Western Digital. I have replace the dial-up modem. All this without problems. I installed Windows XP Pro and SP2 update. My system detects "New hardware" drivers VGA Compatible and multimedia controller. I have had no success finding the right drivers and their installation. My monitor works find, but I have no sound.

    Poster 'sounds, video controllers' Device Manager with the problems. Initial device showed sound and audio by default to the Modem. I removed which and at this point no device is indicated.

    Device Manager shows no driver found for new hardware and online search has failed. Windows Update detects any is available. I checked on the resource one manufacturing line have failed in my downloadsfrom RealTek and Nvidia.Dial - up has had major periods and material has been identified as there's no way for the system. Previous owner had made the back-ups-DVD-but they went "purple haze" and could not be read. That's why I installed XP Pro.

    My modem does not work on and additional time. It will connect and funtion but after a few minutes I'll get "Page not found" displayed.

    So, I use my Dell Dimension for internet troubleshooting. Any help is greatly appreciated.

    Respectfully.

    "Submariners do it deeper."

    Thanks for the information. Due to serious conflicts resulting from auto-updates from microsoft, which I had to reformat the HARD drive and have located since the necessary drivers to the www.sis.com for VGA and www.realtek.com for audio AC 97 readers to be precise. Manually review and choose downloads in the future.

    "Greens, all councils prepare to dive."

    Thanks again for your help. It is greatly appreciated.

    Bamabubblehead went to the abyss.

  • Oracle cloud virtual image, I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud... But could please at least use us dbconsole?

    On oracle cloud virtual, image I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud. But could please at least use us dbconsole?


    I tried to start dbconsole, and it did not work:

    [oracle@ltutest ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.


    According to the oracle help doc center - "creating a database on an instance of virtual image service" (http://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBI/GUID-29290A81-8798-4988-848E-77A1BE0CF08A.htm#GUID-4851560B-D4B6-42...)

    database was created with the option as:

    emConfiguration - NONE - storageType FS


    I guess we have to manually configure the em console, but when I tried to create it, he told me that "' Dbcontrol repository already exists." "

    When I try to start it, it exports the error

    [Oracle@ltutest ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.

    Could someone could give me help with this problem?


    Thanks Brian. I tried your command, and it works. Now I've encountered another problem, how can I browse the URL?

    I created the access rule for access remote on port 1521 and 1158. but when I try to browse the EM console URL, it does not work. all the configurations that I need to do?

  • Oracle 10g fails to start with a 3G router running

    I don't know where to get help with this problem starting from Oracle.


    So far, I have used a HUAWEI dongle directly connected to my PC. Firstly, the operating system and Oracle start, then I connect to internet using the Huawei Mobile Partner. Any application can

    connect to Oracle on the local PC and use it properly. Everything is OK.


    Now, I added a 3G router that is connected to your PC via ethernet cable and has the Huawei dongle connected to a USB port on the router.


    Everything works fine if I followed the sequence:


    (1) to start the PC with the router powered off and wait for Oracle started well.


    (2) turn on the router and wait for 2 minutes until Windows shows the 100 MB ethernet link is open. Oracle.exe in the Task Manager is around 210 Mb and sometimes more, depending on the activity. Everything works fine.


    However, if I turn on the router first, and then start the PC, Oracle does not start correctly. It rejects requests for connection forever more, indicating the network adapter could not establish the connection: Code 17002.

    In the Task Manager Oracle.exe occupies only 145 Mb. clearly it has not begun.

    My intuition says it's something to do with the network address. When properly, started my address IP is 192.168.1.100, assigned by the router.


    What can I do so that he can properly start?  Should what changes I make TNSNAMES, LISTENER and HOSTS to get this working, or to clean them, if necessary?


    Where should I look to be able to provide additional information to any useful expert?


    Any assistance received with gratitude.


    Plomong

    ==========================================================
    Here is my TNSNAMES file. ORA, LISTENER. HOSTS files and ORE:


    # Network Configuration file tnsnames.ora

    SAILDICT_SERVICE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = PCLEKU)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = ORACLE)
    (SERVER = DEDICATED)
    )
    )

    GESTOR_CABLES_PRUEBAS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = ORACLE)
    (SERVER = DEDICATED)
    )
    )

    SAILDICT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SAILDICT)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    #################################################################################
    # listener.ora

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = SAILDICT)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = ORACLE)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = ingeteam))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (ADDRESS = (PROTOCOL = NMP) (SERVER = PCLEKU)(PIPE = ORAPIPE))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    )
    ###################################################################################
    HOSTS:
    127.0.0.1 localhost
    127.0.0.1 PCLEKU

    Hello

    mention the IP addresses instead of host names, and then see if it works

  • Oracle 11g RAC can support 2 separate databases?

    1. can you Oracle 11 g RAC support 2 separate databases because it requires to SCAN ip cluster with a port number unique listener?
    2. Oracle 11.2 database connections will work correctly if I install a mandatory DNS server in Oracle RAC servers?
    I'm leading a team for a project of 11g and appreciate the answers.
    Thank you
    Satish.

    Oracle 11g RAC will support the 2 separate databases because it requires to SCAN ip cluster with a port number unique listener?

    YES

    Oracle 11.2 database connections will work correctly if I install a mandatory DNS server in Oracle RAC servers?

    YES

  • Verizon said I can be faced with one problem with my browser and don't charge but ATT, gmail and other

    Tried loading Verizon homepage, but it says I can be faced with a problem with my browser. ATT, gmail between other fine load and Verizon was very well for some time now, what should I do? I'm not tech savvy so please keep it simple for me, thank you.

    Try to clear your browser's cache.

    Firefox button or tools > clear recent history... - details and of course Cache hit only is selected, and then select all and click the clear now button.

  • My macbook air running hot and the battery drains quickly can help you with this problem?

    My macbook air running hot and the battery drains fast is a 13 ", at the beginning of 2014.  Processor 1.4 GHz intel core 15Can you help with this problem?

    Apps can affect the performance of Mac, battery, temperature and fan activity - Apple Support

Maybe you are looking for